Searched refs:SHA256_DIGEST_LENGTH (Results 1 – 7 of 7) sorted by relevance
/haiku/src/libs/compat/openbsd_wlan/crypto/ |
H A D | sha2.h | 43 #define SHA256_DIGEST_LENGTH 32 macro 44 #define SHA256_DIGEST_STRING_LENGTH (SHA256_DIGEST_LENGTH * 2 + 1) 67 void SHA256Final(u_int8_t[SHA256_DIGEST_LENGTH], SHA2_CTX *) 68 __attribute__((__bounded__(__minbytes__,1,SHA256_DIGEST_LENGTH)));
|
H A D | hmac.h | 60 void HMAC_SHA256_Final(u_int8_t [SHA256_DIGEST_LENGTH], HMAC_SHA256_CTX *) 61 __attribute__((__bounded__(__minbytes__,1,SHA256_DIGEST_LENGTH)));
|
H A D | hmac.c | 150 ctx->key_len = SHA256_DIGEST_LENGTH; in HMAC_SHA256_Init() 174 HMAC_SHA256_Final(u_int8_t digest[SHA256_DIGEST_LENGTH], HMAC_SHA256_CTX *ctx) in HMAC_SHA256_Final() argument 188 SHA256Update(&ctx->ctx, digest, SHA256_DIGEST_LENGTH); in HMAC_SHA256_Final()
|
H A D | sha2.c | 260 SHA256_DIGEST_LENGTH); in SHA256Init() 524 memcpy(digest, context->state.st32, SHA256_DIGEST_LENGTH); in SHA256Final()
|
/haiku/src/libs/libsolv/solv/ |
H A D | sha2.h | 40 #define SHA256_DIGEST_LENGTH 32 macro 41 #define SHA256_DIGEST_STRING_LENGTH (SHA256_DIGEST_LENGTH * 2 + 1) 72 void solv_SHA256_Final(uint8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*);
|
H A D | sha2.c | 336 MEMCPY_BCOPY(context->state, sha256_initial_hash_value, SHA256_DIGEST_LENGTH); in solv_SHA256_Init() 618 MEMCPY_BCOPY(d, context->state, SHA256_DIGEST_LENGTH); in solv_SHA256_Final() 628 sha2_byte digest[SHA256_DIGEST_LENGTH], *d = digest; in solv_SHA256_End() 637 for (i = 0; i < SHA256_DIGEST_LENGTH; i++) { in solv_SHA256_End() 646 MEMSET_BZERO(digest, SHA256_DIGEST_LENGTH); in solv_SHA256_End()
|
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_crypto.c | 358 u_int8_t digest[SHA256_DIGEST_LENGTH]; in ieee80211_kdf() 369 if (len < SHA256_DIGEST_LENGTH) { in ieee80211_kdf() 376 output += SHA256_DIGEST_LENGTH; in ieee80211_kdf() 377 len -= SHA256_DIGEST_LENGTH; in ieee80211_kdf() 430 u_int8_t digest[SHA256_DIGEST_LENGTH]; in ieee80211_pmkid_sha256()
|