Home
last modified time | relevance | path

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

/external/boringssl/src/include/openssl/
Dhmac.h91 OPENSSL_EXPORT void HMAC_CTX_init(HMAC_CTX *ctx);
94 OPENSSL_EXPORT void HMAC_CTX_cleanup(HMAC_CTX *ctx);
105 OPENSSL_EXPORT int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len,
110 OPENSSL_EXPORT int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data,
117 OPENSSL_EXPORT int HMAC_Final(HMAC_CTX *ctx, uint8_t *out,
125 OPENSSL_EXPORT size_t HMAC_size(const HMAC_CTX *ctx);
130 OPENSSL_EXPORT int HMAC_CTX_copy_ex(HMAC_CTX *dest, const HMAC_CTX *src);
135 OPENSSL_EXPORT int HMAC_Init(HMAC_CTX *ctx, const void *key, int key_len,
141 OPENSSL_EXPORT int HMAC_CTX_copy(HMAC_CTX *dest, const HMAC_CTX *src);
Dbase.h221 typedef struct hmac_ctx_st HMAC_CTX; typedef
Dssl.h1773 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx,
3615 EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc);
/external/boringssl/src/crypto/hmac/
Dhmac.c68 HMAC_CTX ctx; in HMAC()
89 void HMAC_CTX_init(HMAC_CTX *ctx) { in HMAC_CTX_init()
96 void HMAC_CTX_cleanup(HMAC_CTX *ctx) { in HMAC_CTX_cleanup()
100 OPENSSL_cleanse(ctx, sizeof(HMAC_CTX)); in HMAC_CTX_cleanup()
103 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, in HMAC_Init_ex()
167 int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data, size_t data_len) { in HMAC_Update()
171 int HMAC_Final(HMAC_CTX *ctx, uint8_t *out, unsigned int *out_len) { in HMAC_Final()
188 size_t HMAC_size(const HMAC_CTX *ctx) { in HMAC_size()
192 int HMAC_CTX_copy_ex(HMAC_CTX *dest, const HMAC_CTX *src) { in HMAC_CTX_copy_ex()
203 int HMAC_Init(HMAC_CTX *ctx, const void *key, int key_len, const EVP_MD *md) { in HMAC_Init()
[all …]
Dhmac_tests.txt3 # that HMAC_CTX and HMAC treat NULL as the empty key initially.
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLMac.java30 private NativeRef.HMAC_CTX ctx;
83 NativeRef.HMAC_CTX ctxLocal = new NativeRef.HMAC_CTX(NativeCrypto.HMAC_CTX_new()); in resetContext()
99 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineUpdate()
137 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineUpdate()
144 final NativeRef.HMAC_CTX ctxLocal = ctx; in engineDoFinal()
DNativeRef.java138 public static class HMAC_CTX extends NativeRef { class in NativeRef
139 public HMAC_CTX(long ctx) { in HMAC_CTX() method in NativeRef.HMAC_CTX
DNativeCrypto.java338 public static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); in HMAC_Init_ex()
340 …public static native void HMAC_Update(NativeRef.HMAC_CTX ctx, byte[] in, int inOffset, int inLengt… in HMAC_Update()
342 public static native void HMAC_UpdateDirect(NativeRef.HMAC_CTX ctx, long inPtr, int inLength); in HMAC_UpdateDirect()
344 public 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/libweave/third_party/libuweave/src/
Dcrypto_hmac.c20 HMAC_CTX context = {0}; in uw_crypto_hmac_()
/external/boringssl/src/crypto/hkdf/
Dhkdf.c35 HMAC_CTX hmac; in HKDF()
/external/boringssl/src/crypto/evp/
Dpbkdf.c70 HMAC_CTX hctx_tpl, hctx; in PKCS5_PBKDF2_HMAC()
/external/boringssl/src/crypto/test/
Dscoped_types.h129 using ScopedHMAC_CTX = ScopedOpenSSLContext<HMAC_CTX, void, HMAC_CTX_init,
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c37 static HMAC_CTX * HMAC_CTX_new(void) in HMAC_CTX_new()
39 HMAC_CTX *ctx; in HMAC_CTX_new()
48 static void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
734 HMAC_CTX *ctx;
826 HMAC_CTX *ctx; in openssl_hmac_vector()
/external/boringssl/src/ssl/
Ds3_lib.c444 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, in SSL_CTX_set_tlsext_ticket_key_cb()
Dt1_enc.c162 HMAC_CTX ctx, ctx_tmp, ctx_init; in tls1_P_hash()
Ds3_srvr.c2000 HMAC_CTX hctx; in ssl3_send_new_session_ticket()
Dt1_lib.c2494 HMAC_CTX hmac_ctx; in tls_process_ticket()
/external/boringssl/src/crypto/cipher/
De_tls.c34 HMAC_CTX hmac_ctx;
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp5142 HMAC_CTX* hmacCtx = reinterpret_cast<HMAC_CTX*>(OPENSSL_malloc(sizeof(HMAC_CTX)));
5153 HMAC_CTX* hmacCtx = reinterpret_cast<HMAC_CTX*>(hmacCtxRef);
5164 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef);
5186 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef);
5208 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef);
5235 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef);
/external/boringssl/src/ssl/test/
Dbssl_shim.cc569 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, in TicketKeyCallback()