Home
last modified time | relevance | path

Searched defs:keylen (Results 1 – 25 of 271) sorted by relevance

1234567891011

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/
H A Dgenerichash_blake2b.c13 const unsigned char *key, size_t keylen) in crypto_generichash_blake2b()
29 unsigned long long inlen, const unsigned char *key, size_t keylen, in crypto_generichash_blake2b_salt_personal()
46 const unsigned char *key, const size_t keylen, in crypto_generichash_blake2b_init()
69 const size_t keylen, const size_t outlen, const unsigned char *salt, in crypto_generichash_blake2b_init_salt_personal()
H A Dblake2b-ref.c178 const uint8_t keylen) in blake2b_init_key()
215 const void *key, const uint8_t keylen, in blake2b_init_key_salt_personal()
334 const uint64_t inlen, uint8_t keylen) in blake2b()
372 uint8_t keylen, const void *salt, const void *personal) in blake2b_salt_personal()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_ocb_hw.c34 size_t keylen) in cipher_hw_aes_ocb_generic_initkey()
66 size_t keylen) in cipher_hw_aes_ocb_aesni_initkey()
89 size_t keylen) in cipher_hw_aes_ocb_t4_initkey()
H A Dcipher_aes_xts_hw.c40 size_t keylen) in cipher_hw_aes_xts_generic_initkey()
103 const unsigned char *key, size_t keylen) in cipher_hw_aesni_xts_initkey()
126 const unsigned char *key, size_t keylen) in cipher_hw_aes_xts_t4_initkey()
H A Dcipher_tdes_common.c64 static int tdes_init(void *vctx, const unsigned char *key, size_t keylen, in tdes_init()
100 int ossl_tdes_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_einit()
107 int ossl_tdes_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_dinit()
H A Dcipher_aes_siv.c79 static int siv_init(void *vctx, const unsigned char *key, size_t keylen, in siv_init()
101 static int siv_einit(void *vctx, const unsigned char *key, size_t keylen, in siv_einit()
108 static int siv_dinit(void *vctx, const unsigned char *key, size_t keylen, in siv_dinit()
230 size_t keylen; in aes_siv_set_ctx_params() local
H A Dcipher_aes_xts.c68 static int aes_xts_init(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_init()
97 static int aes_xts_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_einit()
104 static int aes_xts_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_dinit()
241 size_t keylen; in aes_xts_set_ctx_params() local
H A Dcipher_des.c73 static int des_init(void *vctx, const unsigned char *key, size_t keylen, in des_init()
106 static int des_einit(void *vctx, const unsigned char *key, size_t keylen, in des_einit()
113 static int des_dinit(void *vctx, const unsigned char *key, size_t keylen, in des_dinit()
H A Dcipher_aes_wrp.c98 size_t keylen, const unsigned char *iv, in aes_wrap_init()
148 static int aes_wrap_einit(void *ctx, const unsigned char *key, size_t keylen, in aes_wrap_einit()
155 static int aes_wrap_dinit(void *ctx, const unsigned char *key, size_t keylen, in aes_wrap_dinit()
264 size_t keylen = 0; in aes_wrap_set_ctx_params() local
H A Dcipher_rc4.c55 static int rc4_einit(void *ctx, const unsigned char *key, size_t keylen, in rc4_einit()
64 static int rc4_dinit(void *ctx, const unsigned char *key, size_t keylen, in rc4_dinit()
/freebsd/crypto/openssl/crypto/asn1/
H A Dp5_pbev2.c48 int alg_nid, keylen, ivlen; variable
165 int prf_nid, int keylen, in PKCS5_pbkdf2_set_ex()
242 int prf_nid, int keylen) in PKCS5_pbkdf2_set()
H A Dp5_scrypt.c48 size_t keylen = 0; in PKCS5_pbe2_set_scrypt() local
148 size_t keylen, uint64_t N, uint64_t r, in pkcs5_scrypt_set()
219 size_t keylen = 0; in PKCS5_v2_scrypt_keyivgen_ex() local
/freebsd/sys/contrib/libb2/
H A Dblake2bp.c28 static int blake2bp_init_leaf( blake2b_state *S, uint8_t outlen, uint8_t keylen, uint64_t offset ) in blake2bp_init_leaf()
47 static int blake2bp_init_root( blake2b_state *S, uint8_t outlen, uint8_t keylen ) in blake2bp_init_root()
86 int blake2bp_init_key( blake2bp_state *S, size_t outlen, const void *key, size_t keylen ) in blake2bp_init_key()
196 …ake2bp( uint8_t *out, const void *in, const void *key, size_t outlen, size_t inlen, size_t keylen ) in blake2bp()
H A Dblake2sp.c27 static int blake2sp_init_leaf( blake2s_state *S, uint8_t outlen, uint8_t keylen, uint64_t offset ) in blake2sp_init_leaf()
45 static int blake2sp_init_root( blake2s_state *S, uint8_t outlen, uint8_t keylen ) in blake2sp_init_root()
83 int blake2sp_init_key( blake2sp_state *S, size_t outlen, const void *key, size_t keylen ) in blake2sp_init_key()
194 …ake2sp( uint8_t *out, const void *in, const void *key, size_t outlen, size_t inlen, size_t keylen ) in blake2sp()
H A Dblake2-dispatch.c452 int blake2b_init_key_dispatch( blake2b_state *S, size_t outlen, const void *key, size_t keylen ) in blake2b_init_key_dispatch()
476 …spatch( uint8_t *out, const void *in, const void *key, size_t outlen, size_t inlen, size_t keylen ) in blake2b_dispatch()
487 BLAKE2_API int blake2b_init_key( blake2b_state *S, size_t outlen, const void *key, size_t keylen ) in blake2b_init_key()
507 …lake2b( uint8_t *out, const void *in, const void *key, size_t outlen, size_t inlen, size_t keylen ) in blake2b()
518 int blake2s_init_key_dispatch( blake2s_state *S, size_t outlen, const void *key, size_t keylen ) in blake2s_init_key_dispatch()
542 …spatch( uint8_t *out, const void *in, const void *key, size_t outlen, size_t inlen, size_t keylen ) in blake2s_dispatch()
553 BLAKE2_API int blake2s_init_key( blake2s_state *S, size_t outlen, const void *key, size_t keylen ) in blake2s_init_key()
573 …lake2s( uint8_t *out, const void *in, const void *key, size_t outlen, size_t inlen, size_t keylen ) in blake2s()
/freebsd/contrib/bsnmp/lib/
H A Dsnmpcrypto.c66 const EVP_MD **dtype, uint32_t *keylen) in snmp_digest_init()
93 uint32_t i, keylen, olen; in snmp_pdu_calc_digest() local
249 uint32_t keylen, olen; in snmp_passwd_to_keys() local
295 uint32_t keylen, olen; in snmp_get_local_keys() local
339 uint32_t i, keylen, olen; in snmp_calc_keychange() local
/freebsd/contrib/libarchive/libarchive/
H A Darchive_blake2sp_ref.c45 static int blake2sp_init_leaf( blake2s_state *S, size_t outlen, size_t keylen, uint32_t offset ) in blake2sp_init_leaf()
62 static int blake2sp_init_root( blake2s_state *S, size_t outlen, size_t keylen ) in blake2sp_init_root()
101 int blake2sp_init_key( blake2sp_state *S, size_t outlen, const void *key, size_t keylen ) in blake2sp_init_key()
216 … blake2sp( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen ) in blake2sp()
/freebsd/crypto/openssh/
H A Dxmss_hash.c38 …gned char *out, const unsigned int type, const unsigned char *key, unsigned int keylen, const unsi… in core_hash_SHA2()
71 int prf(unsigned char *out, const unsigned char *in, const unsigned char *key, unsigned int keylen) in prf()
79 …d char *in, unsigned long long inlen, const unsigned char *key, const unsigned int keylen, const u… in h_msg()
/freebsd/tools/tools/net80211/wesside/wesside/
H A Daircrack-ptw-lib.c135 static void rc4init ( uint8_t * key, int keylen, rc4state * state) { in rc4init()
217 static int correct(PTW_attackstate * state, uint8_t * key, int keylen) { in correct()
239 static void getdrv(PTW_tableentry orgtable[][n], int keylen, double * normal, double * ausreiser) { in getdrv()
283 …byte, int fixat, uint8_t fixvalue, int * searchborders, uint8_t * key, int keylen, PTW_attackstate… in doRound()
317 static int doComputation(PTW_attackstate * state, uint8_t * key, int keylen, PTW_tableentry table[]… in doComputation()
361 int PTW_computeKey(PTW_attackstate * state, uint8_t * keybuf, int keylen, int testlimit) { in PTW_computeKey()
/freebsd/crypto/openssl/crypto/evp/
H A Dp5_crpt2.c24 const EVP_MD *digest, int keylen, unsigned char *out, in ossl_pkcs5_pbkdf2_hmac_ex()
84 int saltlen, int iter, const EVP_MD *digest, int keylen, in PKCS5_PBKDF2_HMAC()
94 int keylen, unsigned char *out) in PKCS5_PBKDF2_HMAC_SHA1()
188 unsigned int keylen = 0; in PKCS5_v2_PBKDF2_keyivgen_ex() local
H A Dpbe_scrypt.c40 unsigned char *key, size_t keylen, in EVP_PBE_scrypt_ex()
93 unsigned char *key, size_t keylen) in EVP_PBE_scrypt()
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_enc.c209 const unsigned char *key, size_t keylen, in ossl_cms_EncryptedContent_init()
227 const unsigned char *key, size_t keylen) in CMS_EncryptedData_set1_key()
/freebsd/usr.sbin/pkg/
H A Drsa.c84 const unsigned char *key, int keylen, unsigned char *sig, int siglen) in rsa_verify_data()
147 const char *sigfile, const unsigned char *key, int keylen, in rsa_verify_cert()
/freebsd/contrib/unbound/sldns/
H A Dkeyraw.c535 sldns_gost2pkey_raw(unsigned char* key, size_t keylen) in sldns_gost2pkey_raw()
560 sldns_ecdsa2pkey_raw(unsigned char* key, size_t keylen, uint8_t algo) in sldns_ecdsa2pkey_raw()
660 sldns_ed255192pkey_raw(const unsigned char* key, size_t keylen) in sldns_ed255192pkey_raw()
681 sldns_ed4482pkey_raw(const unsigned char* key, size_t keylen) in sldns_ed4482pkey_raw()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_generichash/
H A Dcrypto_generichash.c56 size_t keylen) in crypto_generichash()
64 const size_t keylen, const size_t outlen) in crypto_generichash_init()

1234567891011