Home
last modified time | relevance | path

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

12

/external/rust/crates/quiche/deps/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 …]
/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 …]
/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/rust/crates/quiche/deps/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/libsrtp2/crypto/hash/
Dhmac_ossl.c86 HMAC_CTX *new_hmac_ctx; in srtp_hmac_alloc()
87 pointer = (uint8_t *)srtp_crypto_alloc(sizeof(HMAC_CTX) + in srtp_hmac_alloc()
94 new_hmac_ctx = (HMAC_CTX *)((*a)->state); in srtp_hmac_alloc()
124 HMAC_CTX *hmac_ctx; in srtp_hmac_dealloc()
126 hmac_ctx = (HMAC_CTX *)a->state; in srtp_hmac_dealloc()
132 octet_string_set_to_zero(a, sizeof(HMAC_CTX) + sizeof(srtp_auth_t)); in srtp_hmac_dealloc()
149 HMAC_CTX *state = (HMAC_CTX *)statev; in srtp_hmac_start()
161 HMAC_CTX *state = (HMAC_CTX *)statev; in srtp_hmac_init()
173 HMAC_CTX *state = (HMAC_CTX *)statev; in srtp_hmac_update()
190 HMAC_CTX *state = (HMAC_CTX *)statev; in srtp_hmac_compute()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLMac.java149 private NativeRef.HMAC_CTX ctx;
164 NativeRef.HMAC_CTX ctxLocal = new NativeRef.HMAC_CTX(NativeCrypto.HMAC_CTX_new()); in resetContext()
173 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineUpdate()
179 final NativeRef.HMAC_CTX ctxLocal = ctx; in updateDirect()
185 final NativeRef.HMAC_CTX ctxLocal = ctx; in doFinal()
DNativeRef.java140 static final class HMAC_CTX extends NativeRef { class in NativeRef
141 HMAC_CTX(long nativePointer) { in HMAC_CTX() method in NativeRef.HMAC_CTX
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLMac.java144 private NativeRef.HMAC_CTX ctx;
159 NativeRef.HMAC_CTX ctxLocal = new NativeRef.HMAC_CTX(NativeCrypto.HMAC_CTX_new()); in resetContext()
168 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineUpdate()
174 final NativeRef.HMAC_CTX ctxLocal = ctx; in updateDirect()
180 final NativeRef.HMAC_CTX ctxLocal = ctx; in doFinal()
DNativeRef.java139 static final class HMAC_CTX extends NativeRef { class in NativeRef
140 HMAC_CTX(long nativePointer) { in HMAC_CTX() method in NativeRef.HMAC_CTX
DNativeCrypto.java375 static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); in HMAC_Init_ex()
377 static native void HMAC_Update(NativeRef.HMAC_CTX ctx, byte[] in, int inOffset, int inLength); in HMAC_Update()
379 static native void HMAC_UpdateDirect(NativeRef.HMAC_CTX ctx, long inPtr, int inLength); in HMAC_UpdateDirect()
381 static native byte[] HMAC_Final(NativeRef.HMAC_CTX ctx); in HMAC_Final()
/external/libwebsockets/include/libwebsockets/
Dlws-genhash.h78 HMAC_CTX *ctx;
80 HMAC_CTX ctx;
/external/python/cpython3/Modules/
D_hashopenssl.c40 HMAC_CTX *
43 HMAC_CTX *ctx = OPENSSL_malloc(sizeof(HMAC_CTX)); in HMAC_CTX_new()
45 memset(ctx, 0, sizeof(HMAC_CTX)); in HMAC_CTX_new()
52 HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
61 HMAC_CTX_get_md(const HMAC_CTX *ctx) in HMAC_CTX_get_md()
107 HMAC_CTX *ctx; /* OpenSSL hmac context */
1400 HMAC_CTX *ctx = NULL; in _hashlib_hmac_new_impl()
1462 locked_HMAC_CTX_copy(HMAC_CTX *new_ctx_p, HMACobject *self) in locked_HMAC_CTX_copy()
1521 HMAC_CTX *ctx = HMAC_CTX_new(); in _hashlib_HMAC_copy_impl()
1587 HMAC_CTX *temp_ctx = HMAC_CTX_new(); in _hmac_digest()
/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/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dpbkdf.c72 HMAC_CTX hctx; in PKCS5_PBKDF2_HMAC()
/external/rust/crates/quiche/deps/boringssl/src/crypto/hkdf/
Dhkdf.c68 HMAC_CTX hmac; in HKDF_expand()
/external/boringssl/src/crypto/hkdf/
Dhkdf.c68 HMAC_CTX hmac; in HKDF_expand()
/external/tpm2-tss/test/integration/
Dsapi-util.c493 HMAC_CTX *ctx; in hmac()
495 HMAC_CTX _ctx; in hmac()
496 HMAC_CTX *ctx = &_ctx; in hmac()
/external/boringssl/src/crypto/fipsmodule/tls/
Dkdf.c73 HMAC_CTX ctx, ctx_tmp, ctx_init; in tls1_P_hash()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/tls/
Dkdf.c73 HMAC_CTX ctx, ctx_tmp, ctx_init; in tls1_P_hash()
/external/boringssl/src/crypto/fipsmodule/
Dbcm.c208 HMAC_CTX hmac_ctx; in BORINGSSL_bcm_power_on_self_test()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/
Dbcm.c206 HMAC_CTX hmac_ctx; in BORINGSSL_bcm_power_on_self_test()
/external/tensorflow/tensorflow/core/platform/s3/
Daws_crypto.cc38 HMAC_CTX ctx; in Calculate()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Daws_crypto.cc38 HMAC_CTX ctx; in Calculate()
/external/boringssl/src/crypto/hmac_extra/
Dhmac_tests.txt3 # that HMAC_CTX and HMAC treat NULL as the empty key initially.

12