Home
last modified time | relevance | path

Searched refs:HMAC_CTX (Results 1 – 25 of 27) sorted by relevance

12

/external/boringssl/src/include/openssl/
Dhmac.h91 OPENSSL_EXPORT void HMAC_CTX_init(HMAC_CTX *ctx);
96 OPENSSL_EXPORT HMAC_CTX *HMAC_CTX_new(void);
99 OPENSSL_EXPORT void HMAC_CTX_cleanup(HMAC_CTX *ctx);
102 OPENSSL_EXPORT void HMAC_CTX_free(HMAC_CTX *ctx);
113 OPENSSL_EXPORT int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len,
118 OPENSSL_EXPORT int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data,
126 OPENSSL_EXPORT int HMAC_Final(HMAC_CTX *ctx, uint8_t *out,
134 OPENSSL_EXPORT size_t HMAC_size(const HMAC_CTX *ctx);
139 OPENSSL_EXPORT int HMAC_CTX_copy_ex(HMAC_CTX *dest, const HMAC_CTX *src);
142 OPENSSL_EXPORT void HMAC_CTX_reset(HMAC_CTX *ctx);
[all …]
Dbase.h377 typedef struct hmac_ctx_st HMAC_CTX; typedef
Dssl.h2103 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx,
/external/boringssl/src/crypto/fipsmodule/hmac/
Dhmac.c71 HMAC_CTX ctx; in HMAC()
83 void HMAC_CTX_init(HMAC_CTX *ctx) { in HMAC_CTX_init()
90 HMAC_CTX *HMAC_CTX_new(void) { in HMAC_CTX_new()
91 HMAC_CTX *ctx = OPENSSL_malloc(sizeof(HMAC_CTX)); in HMAC_CTX_new()
98 void HMAC_CTX_cleanup(HMAC_CTX *ctx) { in HMAC_CTX_cleanup()
102 OPENSSL_cleanse(ctx, sizeof(HMAC_CTX)); in HMAC_CTX_cleanup()
105 void HMAC_CTX_free(HMAC_CTX *ctx) { in HMAC_CTX_free()
114 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, in HMAC_Init_ex()
177 int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data, size_t data_len) { in HMAC_Update()
181 int HMAC_Final(HMAC_CTX *ctx, uint8_t *out, unsigned int *out_len) { in HMAC_Final()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLMac.java33 private NativeRef.HMAC_CTX ctx;
86 NativeRef.HMAC_CTX ctxLocal = new NativeRef.HMAC_CTX(NativeCrypto.HMAC_CTX_new()); in resetContext()
102 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineUpdate()
140 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineUpdate()
147 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineDoFinal()
DNativeRef.java127 static final class HMAC_CTX extends NativeRef { class in NativeRef
128 HMAC_CTX(long nativePointer) { in HMAC_CTX() method in NativeRef.HMAC_CTX
DNativeCrypto.java342 static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); in HMAC_Init_ex()
344 static native void HMAC_Update(NativeRef.HMAC_CTX ctx, byte[] in, int inOffset, int inLength); in HMAC_Update()
346 static native void HMAC_UpdateDirect(NativeRef.HMAC_CTX ctx, long inPtr, int inLength); in HMAC_UpdateDirect()
348 static native byte[] HMAC_Final(NativeRef.HMAC_CTX ctx); in HMAC_Final()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLMac.java36 private NativeRef.HMAC_CTX ctx;
89 NativeRef.HMAC_CTX ctxLocal = new NativeRef.HMAC_CTX(NativeCrypto.HMAC_CTX_new()); in resetContext()
105 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineUpdate()
143 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineUpdate()
150 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineDoFinal()
DNativeRef.java128 static final class HMAC_CTX extends NativeRef { class in NativeRef
129 HMAC_CTX(long nativePointer) { in HMAC_CTX() method in NativeRef.HMAC_CTX
DNativeCrypto.java357 static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); in HMAC_Init_ex()
359 static native void HMAC_Update(NativeRef.HMAC_CTX ctx, byte[] in, int inOffset, int inLength); in HMAC_Update()
361 static native void HMAC_UpdateDirect(NativeRef.HMAC_CTX ctx, long inPtr, int inLength); in HMAC_UpdateDirect()
363 static native byte[] HMAC_Final(NativeRef.HMAC_CTX ctx); in HMAC_Final()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c1842 HMAC_CTX *c = racoon_malloc(sizeof(*c));
1879 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
1892 HMAC_Final((HMAC_CTX *)c, (unsigned char *) res->v, &l);
1894 HMAC_cleanup((HMAC_CTX *)c);
1936 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
1949 HMAC_Final((HMAC_CTX *)c, (unsigned char *) res->v, &l);
1951 HMAC_cleanup((HMAC_CTX *)c);
1993 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
2006 HMAC_Final((HMAC_CTX *)c, (unsigned char *) res->v, &l);
2008 HMAC_cleanup((HMAC_CTX *)c);
[all …]
/external/boringssl/src/crypto/evp/
Dpbkdf.c72 HMAC_CTX hctx; in PKCS5_PBKDF2_HMAC()
/external/boringssl/src/crypto/hkdf/
Dhkdf.c68 HMAC_CTX hmac; in HKDF_expand()
/external/tensorflow/tensorflow/core/platform/s3/
Daws_crypto.cc37 HMAC_CTX ctx; in Calculate()
/external/boringssl/src/crypto/fipsmodule/tls/
Dkdf.c73 HMAC_CTX ctx, ctx_tmp, ctx_init; in tls1_P_hash()
/external/boringssl/src/crypto/hmac_extra/
Dhmac_tests.txt3 # that HMAC_CTX and HMAC treat NULL as the empty key initially.
/external/grpc-grpc/src/core/tsi/alts/crypt/
Daes_gcm.cc191 HMAC_CTX hmac; in aes_gcm_derive_aead_key()
201 HMAC_CTX* hmac = HMAC_CTX_new(); in aes_gcm_derive_aead_key()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c43 static HMAC_CTX * HMAC_CTX_new(void) in HMAC_CTX_new()
45 HMAC_CTX *ctx; in HMAC_CTX_new()
54 static void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
979 HMAC_CTX *ctx;
1074 HMAC_CTX *ctx; in openssl_hmac_vector()
/external/boringssl/src/crypto/cipher_extra/
De_tls.c35 HMAC_CTX hmac_ctx;
/external/python/cpython2/Modules/
D_hashopenssl.c593 HMAC_CTX hctx_tpl, hctx; in PKCS5_PBKDF2_HMAC_fast()
/external/python/cpython3/Modules/
D_hashopenssl.c559 HMAC_CTX hctx_tpl, hctx; in PKCS5_PBKDF2_HMAC_fast()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3608 auto hmacCtx = new HMAC_CTX; in NativeCrypto_HMAC_CTX_new()
3620 HMAC_CTX* hmacCtx = reinterpret_cast<HMAC_CTX*>(hmacCtxRef); in NativeCrypto_HMAC_CTX_free()
3632 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef); in NativeCrypto_HMAC_Init_ex()
3654 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef); in NativeCrypto_HMAC_UpdateDirect()
3677 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef); in NativeCrypto_HMAC_Update()
3706 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef); in NativeCrypto_HMAC_Final()
/external/boringssl/src/ssl/test/
Dtest_config.cc518 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, in TicketKeyCallback()
/external/boringssl/src/ssl/
Dinternal.h3036 EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc) = nullptr;
Dssl_lib.cc1858 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, in SSL_CTX_set_tlsext_ticket_key_cb()

12