Package org.conscrypt

Class OpenSSLMac.AesCmac

    • Constructor Detail

      • AesCmac

        public AesCmac()
    • Method Detail

      • initContext

        protected void initContext​(byte[] keyBytes)
        Description copied from class: OpenSSLMac
        Creates and initializes the relevant BoringSSL *MAC context.
        Specified by:
        initContext in class OpenSSLMac
      • resetContext

        protected void resetContext()
        Description copied from class: OpenSSLMac
        Resets the context for a new operation with the same key.
        Specified by:
        resetContext in class OpenSSLMac
      • updateDirect

        protected void updateDirect​(long ptr,
                                    int len)
        Description copied from class: OpenSSLMac
        Passes the contents of a direct ByteBuffer to the relevant BoringSSL *MAC function.
        Specified by:
        updateDirect in class OpenSSLMac
      • engineUpdate

        protected void engineUpdate​(byte[] input,
                                    int offset,
                                    int len)
        Specified by:
        engineUpdate in class javax.crypto.MacSpi