/external/boringssl/src/include/openssl/ |
D | hmac.h | 91 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);
|
D | base.h | 221 typedef struct hmac_ctx_st HMAC_CTX; typedef
|
D | ssl.h | 1773 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, 3615 EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc);
|
/external/boringssl/src/crypto/hmac/ |
D | hmac.c | 68 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 …]
|
D | hmac_tests.txt | 3 # that HMAC_CTX and HMAC treat NULL as the empty key initially.
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLMac.java | 30 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()
|
D | NativeRef.java | 138 public static class HMAC_CTX extends NativeRef { class in NativeRef 139 public HMAC_CTX(long ctx) { in HMAC_CTX() method in NativeRef.HMAC_CTX
|
D | NativeCrypto.java | 338 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/ |
D | crypto_openssl.c | 1842 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/ |
D | crypto_hmac.c | 20 HMAC_CTX context = {0}; in uw_crypto_hmac_()
|
/external/boringssl/src/crypto/hkdf/ |
D | hkdf.c | 35 HMAC_CTX hmac; in HKDF()
|
/external/boringssl/src/crypto/evp/ |
D | pbkdf.c | 70 HMAC_CTX hctx_tpl, hctx; in PKCS5_PBKDF2_HMAC()
|
/external/boringssl/src/crypto/test/ |
D | scoped_types.h | 129 using ScopedHMAC_CTX = ScopedOpenSSLContext<HMAC_CTX, void, HMAC_CTX_init,
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 37 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/ |
D | s3_lib.c | 444 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, in SSL_CTX_set_tlsext_ticket_key_cb()
|
D | t1_enc.c | 162 HMAC_CTX ctx, ctx_tmp, ctx_init; in tls1_P_hash()
|
D | s3_srvr.c | 2000 HMAC_CTX hctx; in ssl3_send_new_session_ticket()
|
D | t1_lib.c | 2494 HMAC_CTX hmac_ctx; in tls_process_ticket()
|
/external/boringssl/src/crypto/cipher/ |
D | e_tls.c | 34 HMAC_CTX hmac_ctx;
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 5142 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/ |
D | bssl_shim.cc | 569 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, in TicketKeyCallback()
|