Home
last modified time | relevance | path

Searched refs:SHA256_DIGEST_LENGTH (Results 1 – 7 of 7) sorted by relevance

/haiku/src/libs/compat/openbsd_wlan/crypto/
H A Dsha2.h43 #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 Dhmac.h60 void HMAC_SHA256_Final(u_int8_t [SHA256_DIGEST_LENGTH], HMAC_SHA256_CTX *)
61 __attribute__((__bounded__(__minbytes__,1,SHA256_DIGEST_LENGTH)));
H A Dhmac.c150 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 Dsha2.c260 SHA256_DIGEST_LENGTH); in SHA256Init()
524 memcpy(digest, context->state.st32, SHA256_DIGEST_LENGTH); in SHA256Final()
/haiku/src/libs/libsolv/solv/
H A Dsha2.h40 #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 Dsha2.c336 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 Dieee80211_crypto.c358 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()