Searched refs:hashlen (Results 1 – 8 of 8) sorted by relevance
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
| H A D | argon2.c | 100 if (hashlen > ARGON2_MAX_OUTLEN) { in argon2_hash() 108 out = (uint8_t *) malloc(hashlen); in argon2_hash() 114 context.outlen = (uint32_t) hashlen; in argon2_hash() 132 sodium_memzero(out, hashlen); in argon2_hash() 139 memcpy(hash, out, hashlen); in argon2_hash() 145 sodium_memzero(out, hashlen); in argon2_hash() 152 sodium_memzero(out, hashlen); in argon2_hash() 173 void *hash, const size_t hashlen) in argon2i_hash_raw() argument 176 hash, hashlen, NULL, 0, Argon2_i); in argon2i_hash_raw() 194 void *hash, const size_t hashlen) in argon2id_hash_raw() argument [all …]
|
| H A D | argon2.h | 215 const size_t saltlen, const size_t hashlen, 236 const size_t saltlen, const size_t hashlen, 256 const size_t saltlen, void *hash, const size_t hashlen); 275 const size_t saltlen, void *hash, const size_t hashlen); 281 void *hash, const size_t hashlen, char *encoded,
|
| /f-stack/freebsd/mips/nlm/hal/ |
| H A D | nlmsaelib.h | 265 nlm_crypto_form_pkt_desc1(unsigned int cipherlen, unsigned int hashlen) in nlm_crypto_form_pkt_desc1() argument 268 left_shift64_mask((hashlen - 1), 0, 32)); in nlm_crypto_form_pkt_desc1() 511 unsigned int hashoff, unsigned int hashlen, unsigned int hmacpad, in nlm_crypto_fill_cipher_auth_pkt_param() argument 516 param->desc1 = nlm_crypto_form_pkt_desc1(cipherlen, hashlen); in nlm_crypto_fill_cipher_auth_pkt_param() 559 unsigned int hashlen, unsigned int hmacpad, unsigned char *hashdst_addr) in nlm_crypto_fill_auth_pkt_param() argument 563 param->desc1 = nlm_crypto_form_pkt_desc1(1, hashlen); in nlm_crypto_fill_auth_pkt_param()
|
| /f-stack/freebsd/crypto/blake2/ |
| H A D | blake2_cryptodev.c | 276 int hashlen; in blake2_cipher_setup() local 288 hashlen = BLAKE2S_OUTBYTES; in blake2_cipher_setup() 291 hashlen = BLAKE2B_OUTBYTES; in blake2_cipher_setup() 297 if (csp->csp_auth_mlen > hashlen) in blake2_cipher_setup() 301 ses->mlen = hashlen; in blake2_cipher_setup()
|
| /f-stack/freebsd/mips/nlm/dev/sec/ |
| H A D | nlmsec.c | 217 printf("hashlen :%d\n",cmd->hashlen); in print_cmd() 634 cmd->hashlen = crp->crp_payload_length; in xlp_sec_process() 651 cmd->hashlen = crp->crp_aad_length + in xlp_sec_process() 655 cmd->hashlen = crp->crp_payload_length; in xlp_sec_process()
|
| H A D | nlmseclib.c | 206 cmd->hashoff, cmd->hashlen, cmd->hmacpad, in nlm_crypto_do_digest() 239 cmd->ivoff, cmd->ivlen, cmd->hashoff, cmd->hashlen, in nlm_crypto_do_cipher_digest()
|
| H A D | nlmseclib.h | 102 uint32_t hashlen; member
|
| /f-stack/freebsd/kern/ |
| H A D | kern_mib.c | 586 int hashlen; in sysctl_build_id() local 603 hashlen = sectionlen - BUILD_ID_HEADER_LEN; in sysctl_build_id() 604 for (int i = 0; i < hashlen; i++) { in sysctl_build_id()
|