/external/boringssl/src/include/openssl/ |
D | cmac.h | 44 OPENSSL_EXPORT CMAC_CTX *CMAC_CTX_new(void); 47 OPENSSL_EXPORT void CMAC_CTX_free(CMAC_CTX *ctx); 51 OPENSSL_EXPORT int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in); 60 OPENSSL_EXPORT int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t key_len, 65 OPENSSL_EXPORT int CMAC_Reset(CMAC_CTX *ctx); 69 OPENSSL_EXPORT int CMAC_Update(CMAC_CTX *ctx, const uint8_t *in, size_t in_len); 73 OPENSSL_EXPORT int CMAC_Final(CMAC_CTX *ctx, uint8_t *out, size_t *out_len); 83 BORINGSSL_MAKE_DELETER(CMAC_CTX, CMAC_CTX_free)
|
D | base.h | 385 typedef struct cmac_ctx_st CMAC_CTX; typedef
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | cmac.h | 44 OPENSSL_EXPORT CMAC_CTX *CMAC_CTX_new(void); 47 OPENSSL_EXPORT void CMAC_CTX_free(CMAC_CTX *ctx); 51 OPENSSL_EXPORT int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in); 60 OPENSSL_EXPORT int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t key_len, 65 OPENSSL_EXPORT int CMAC_Reset(CMAC_CTX *ctx); 69 OPENSSL_EXPORT int CMAC_Update(CMAC_CTX *ctx, const uint8_t *in, size_t in_len); 73 OPENSSL_EXPORT int CMAC_Final(CMAC_CTX *ctx, uint8_t *out, size_t *out_len); 83 BORINGSSL_MAKE_DELETER(CMAC_CTX, CMAC_CTX_free)
|
D | base.h | 377 typedef struct cmac_ctx_st CMAC_CTX; typedef
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/cmac/ |
D | cmac.c | 73 static void CMAC_CTX_init(CMAC_CTX *ctx) { in CMAC_CTX_init() 77 static void CMAC_CTX_cleanup(CMAC_CTX *ctx) { in CMAC_CTX_cleanup() 99 CMAC_CTX ctx; in AES_CMAC() 110 CMAC_CTX *CMAC_CTX_new(void) { in CMAC_CTX_new() 111 CMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx)); in CMAC_CTX_new() 118 void CMAC_CTX_free(CMAC_CTX *ctx) { in CMAC_CTX_free() 127 int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in) { in CMAC_CTX_copy() 174 int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t key_len, in CMAC_Init() 200 int CMAC_Reset(CMAC_CTX *ctx) { in CMAC_Reset() 205 int CMAC_Update(CMAC_CTX *ctx, const uint8_t *in, size_t in_len) { in CMAC_Update() [all …]
|
D | cmac_test.cc | 40 bssl::UniquePtr<CMAC_CTX> ctx(CMAC_CTX_new()); in test() 65 bssl::UniquePtr<CMAC_CTX> ctx2(CMAC_CTX_new()); in test() 158 bssl::UniquePtr<CMAC_CTX> ctx(CMAC_CTX_new()); in TEST() 220 bssl::UniquePtr<CMAC_CTX> ctx(CMAC_CTX_new()); in RunCAVPTest()
|
/external/boringssl/src/crypto/cmac/ |
D | cmac.c | 73 static void CMAC_CTX_init(CMAC_CTX *ctx) { in CMAC_CTX_init() 77 static void CMAC_CTX_cleanup(CMAC_CTX *ctx) { in CMAC_CTX_cleanup() 99 CMAC_CTX ctx; in AES_CMAC() 110 CMAC_CTX *CMAC_CTX_new(void) { in CMAC_CTX_new() 111 CMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx)); in CMAC_CTX_new() 118 void CMAC_CTX_free(CMAC_CTX *ctx) { in CMAC_CTX_free() 127 int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in) { in CMAC_CTX_copy() 174 int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t key_len, in CMAC_Init() 200 int CMAC_Reset(CMAC_CTX *ctx) { in CMAC_Reset() 205 int CMAC_Update(CMAC_CTX *ctx, const uint8_t *in, size_t in_len) { in CMAC_Update() [all …]
|
D | cmac_test.cc | 40 bssl::UniquePtr<CMAC_CTX> ctx(CMAC_CTX_new()); in test() 65 bssl::UniquePtr<CMAC_CTX> ctx2(CMAC_CTX_new()); in test() 158 bssl::UniquePtr<CMAC_CTX> ctx(CMAC_CTX_new()); in TEST() 220 bssl::UniquePtr<CMAC_CTX> ctx(CMAC_CTX_new()); in RunCAVPTest()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLMac.java | 248 private NativeRef.CMAC_CTX ctx; 256 NativeRef.CMAC_CTX ctxLocal = new NativeRef.CMAC_CTX(NativeCrypto.CMAC_CTX_new()); in resetContext() 265 final NativeRef.CMAC_CTX ctxLocal = ctx; in updateDirect() 271 final NativeRef.CMAC_CTX ctxLocal = ctx; in doFinal() 277 final NativeRef.CMAC_CTX ctxLocal = ctx; in engineUpdate()
|
D | NativeRef.java | 63 static final class CMAC_CTX extends NativeRef { class in NativeRef 64 CMAC_CTX(long nativePointer) { in CMAC_CTX() method in NativeRef.CMAC_CTX
|
D | NativeCrypto.java | 372 static native void CMAC_Init(NativeRef.CMAC_CTX ctx, byte[] key); in CMAC_Init() 374 static native void CMAC_Update(NativeRef.CMAC_CTX ctx, byte[] in, int inOffset, int inLength); in CMAC_Update() 376 static native void CMAC_UpdateDirect(NativeRef.CMAC_CTX ctx, long inPtr, int inLength); in CMAC_UpdateDirect() 378 static native byte[] CMAC_Final(NativeRef.CMAC_CTX ctx); in CMAC_Final()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLMac.java | 223 private NativeRef.CMAC_CTX ctx; 231 NativeRef.CMAC_CTX ctxLocal = new NativeRef.CMAC_CTX(NativeCrypto.CMAC_CTX_new()); in resetContext() 240 final NativeRef.CMAC_CTX ctxLocal = ctx; in updateDirect() 246 final NativeRef.CMAC_CTX ctxLocal = ctx; in doFinal() 252 final NativeRef.CMAC_CTX ctxLocal = ctx; in engineUpdate()
|
D | NativeRef.java | 62 static final class CMAC_CTX extends NativeRef { class in NativeRef 63 CMAC_CTX(long nativePointer) { in CMAC_CTX() method in NativeRef.CMAC_CTX
|
D | NativeCrypto.java | 361 static native void CMAC_Init(NativeRef.CMAC_CTX ctx, byte[] key); in CMAC_Init() 363 static native void CMAC_Update(NativeRef.CMAC_CTX ctx, byte[] in, int inOffset, int inLength); in CMAC_Update() 365 static native void CMAC_UpdateDirect(NativeRef.CMAC_CTX ctx, long inPtr, int inLength); in CMAC_UpdateDirect() 367 static native byte[] CMAC_Final(NativeRef.CMAC_CTX ctx); in CMAC_Final()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 3793 CMAC_CTX* cmacCtx = reinterpret_cast<CMAC_CTX*>(cmacCtxRef); in NativeCrypto_CMAC_CTX_free() 3804 CMAC_CTX* cmacCtx = fromContextObject<CMAC_CTX>(env, cmacCtxRef); in NativeCrypto_CMAC_Init() 3843 CMAC_CTX* cmacCtx = fromContextObject<CMAC_CTX>(env, cmacCtxRef); in NativeCrypto_CMAC_UpdateDirect() 3866 CMAC_CTX* cmacCtx = fromContextObject<CMAC_CTX>(env, cmacCtxRef); in NativeCrypto_CMAC_Update() 3896 CMAC_CTX* cmacCtx = fromContextObject<CMAC_CTX>(env, cmacCtxRef); in NativeCrypto_CMAC_Final()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 1221 CMAC_CTX *ctx; in omac1_aes_vector()
|