/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PBKDF2Params.java | 37 private AlgorithmIdentifier prf; field in PBKDF2Params 104 AlgorithmIdentifier prf) in PBKDF2Params() argument 109 this.prf = prf; in PBKDF2Params() 122 AlgorithmIdentifier prf) in PBKDF2Params() argument 125 this.prf = prf; in PBKDF2Params() 159 prf = AlgorithmIdentifier.getInstance(o); in PBKDF2Params() 206 return prf == null || prf.equals(algid_hmacWithSHA1); in isDefaultPrf() 216 if (prf != null) in getPrf() 218 return prf; in getPrf() 241 if (prf != null && !prf.equals(algid_hmacWithSHA1)) in toASN1Primitive() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/ |
D | PBKDF2KeySpec.java | 13 private AlgorithmIdentifier prf; field in PBKDF2KeySpec 24 …KDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdentifier prf) in PBKDF2KeySpec() argument 28 this.prf = prf; in PBKDF2KeySpec() 33 return prf; in getPrf()
|
/external/e2fsprogs/e2fsck/ |
D | profile.c | 206 (prf_file_t prf); 392 prf_file_t prf; in profile_set_default() local 401 for (prf = profile->first_file; prf; prf = prf->next) { in profile_set_default() 402 if (strcmp(prf->filespec, default_filename) == 0) in profile_set_default() 405 if (!prf) in profile_set_default() 408 if (prf->root) { in profile_set_default() 409 profile_free_node(prf->root); in profile_set_default() 410 prf->root = 0; in profile_set_default() 439 (syntax_err_cb)(prf->filespec, retval, in profile_set_default() 442 if (prf->root) in profile_set_default() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.c | 123 static int eap_eke_prf_len(u8 prf) in eap_eke_prf_len() argument 125 if (prf == EAP_EKE_PRF_HMAC_SHA1) in eap_eke_prf_len() 127 if (prf == EAP_EKE_PRF_HMAC_SHA2_256) in eap_eke_prf_len() 133 static int eap_eke_nonce_len(u8 prf) in eap_eke_nonce_len() argument 137 prf_len = eap_eke_prf_len(prf); in eap_eke_nonce_len() 148 static int eap_eke_auth_len(u8 prf) in eap_eke_auth_len() argument 150 switch (prf) { in eap_eke_auth_len() 211 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf() argument 227 if (prf == EAP_EKE_PRF_HMAC_SHA1) in eap_eke_prf() 229 if (prf == EAP_EKE_PRF_HMAC_SHA2_256) in eap_eke_prf() [all …]
|
D | ikev2_common.c | 123 const struct ikev2_prf_alg *prf; in ikev2_prf_plus() local 126 prf = ikev2_get_prf(alg); in ikev2_prf_plus() 127 if (prf == NULL) in ikev2_prf_plus() 129 hash_len = prf->hash_len; in ikev2_prf_plus() 380 const struct ikev2_prf_alg *prf; in ikev2_derive_auth_data() local 383 prf = ikev2_get_prf(prf_alg); in ikev2_derive_auth_data() 385 shared_secret == NULL || nonce == NULL || prf == NULL) in ikev2_derive_auth_data() 395 if (ikev2_prf_hash(prf->id, SK_p, keys->SK_prf_len, in ikev2_derive_auth_data() 403 sign_len = wpabuf_len(sign_msg) + nonce_len + prf->hash_len; in ikev2_derive_auth_data() 412 os_memcpy(pos, hash, prf->hash_len); in ikev2_derive_auth_data() [all …]
|
D | eap_ikev2_common.c | 18 int eap_ikev2_derive_keymat(int prf, struct ikev2_keys *keys, in eap_ikev2_derive_keymat() argument 37 if (ikev2_prf_plus(prf, keys->SK_d, keys->SK_d_len, nonces, nlen, in eap_ikev2_derive_keymat()
|
D | eap_eke_common.h | 65 u8 prf; member 82 u8 prf, u8 mac);
|
D | eap_ikev2_common.h | 20 int eap_ikev2_derive_keymat(int prf, struct ikev2_keys *keys,
|
D | eap_pwd_common.h | 49 u8 prf; member
|
/external/libedit/src/ |
D | prompt.c | 149 prompt_set(EditLine *el, el_pfunc_t prf, Char c, int op, int wide) in prompt_set() argument 158 if (prf == NULL) { in prompt_set() 164 p->p_func = prf; in prompt_set() 181 prompt_get(EditLine *el, el_pfunc_t *prf, Char *c, int op) in prompt_get() argument 185 if (prf == NULL) in prompt_get() 193 if (prf) in prompt_get() 194 *prf = p->p_func; in prompt_get()
|
/external/tcpdump/tests/ |
D | ikev2pI2.out | 7 (t: #3 type=prf id=hmac-sha ) 12 (t: #3 type=prf id=hmac-md5 ) 17 (t: #3 type=prf id=hmac-sha ) 22 (t: #3 type=prf id=hmac-md5 ) 27 (t: #3 type=prf id=hmac-sha ) 32 (t: #3 type=prf id=hmac-md5 )
|
D | ikev2four.out | 9 (t: #5 type=prf id=hmac-sha ) 10 (t: #6 type=prf id=hmac-md5 ) 11 (t: #7 type=prf id=aes128_xcbc ) 33 (t: #5 type=prf id=hmac-sha ) 34 (t: #6 type=prf id=hmac-md5 ) 35 (t: #7 type=prf id=aes128_xcbc ) 50 (t: #2 type=prf id=hmac-sha )
|
D | ikev2fourv4.out | 9 (t: #5 type=prf id=hmac-sha ) 10 (t: #6 type=prf id=hmac-md5 ) 11 (t: #7 type=prf id=aes128_xcbc ) 33 (t: #5 type=prf id=hmac-sha ) 34 (t: #6 type=prf id=hmac-md5 ) 35 (t: #7 type=prf id=aes128_xcbc ) 50 (t: #2 type=prf id=hmac-sha )
|
D | ikev2fourv.out | 9 (t: #5 type=prf id=hmac-sha ) 10 (t: #6 type=prf id=hmac-md5 ) 11 (t: #7 type=prf id=aes128_xcbc ) 33 (t: #5 type=prf id=hmac-sha ) 34 (t: #6 type=prf id=hmac-md5 ) 35 (t: #7 type=prf id=aes128_xcbc ) 50 (t: #2 type=prf id=hmac-sha )
|
/external/wpa_supplicant_8/src/eap_server/ |
D | ikev2.c | 41 const struct ikev2_prf_alg *prf; in ikev2_derive_keys() local 50 prf = ikev2_get_prf(data->proposal.prf); in ikev2_derive_keys() 52 if (integ == NULL || prf == NULL || encr == NULL) { in ikev2_derive_keys() 94 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len, in ikev2_derive_keys() 111 skeyseed, prf->hash_len); in ikev2_derive_keys() 113 ret = ikev2_derive_sk_keys(prf, integ, encr, skeyseed, buf, buf_len, in ikev2_derive_keys() 190 transform_id == data->proposal.prf) in ikev2_parse_transform() 191 prop->prf = transform_id; in ikev2_parse_transform() 326 prop.prf = -1; in ikev2_process_sar1() 333 if (!found && prop.integ != -1 && prop.prf != -1 && in ikev2_process_sar1() [all …]
|
D | ikev2.h | 17 int prf; member
|
D | eap_server_ikev2.c | 102 data->ikev2.proposal.prf = PRF_HMAC_SHA1; in eap_ikev2_init() 338 data->ikev2.proposal.prf, &data->ikev2.keys, in eap_ikev2_server_keymat()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | ikev2.c | 37 const struct ikev2_prf_alg *prf; in ikev2_derive_keys() local 46 prf = ikev2_get_prf(data->proposal.prf); in ikev2_derive_keys() 48 if (integ == NULL || prf == NULL || encr == NULL) { in ikev2_derive_keys() 90 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len, in ikev2_derive_keys() 107 skeyseed, prf->hash_len); in ikev2_derive_keys() 109 ret = ikev2_derive_sk_keys(prf, integ, encr, skeyseed, buf, buf_len, in ikev2_derive_keys() 184 prop->prf = transform_id; in ikev2_parse_transform() 318 prop.prf = -1; in ikev2_process_sai1() 325 if (!found && prop.integ != -1 && prop.prf != -1 && in ikev2_process_sai1() 347 data->proposal.encr, data->proposal.prf, in ikev2_process_sai1() [all …]
|
D | eap_eke.c | 33 u8 prf; /* forced PRF or 0 to allow all supported */ member 117 data->prf = atoi(pos + 4); in eap_eke_init() 119 data->prf); in eap_eke_init() 182 static int eap_eke_supp_prf(u8 prf) in eap_eke_supp_prf() argument 184 return prf == EAP_EKE_PRF_HMAC_SHA1 || in eap_eke_supp_prf() 185 prf == EAP_EKE_PRF_HMAC_SHA2_256; in eap_eke_supp_prf() 275 if ((data->prf && data->prf != *tmp) || in eap_eke_process_id()
|
D | ikev2.h | 17 int prf; member
|
/external/llvm/utils/TableGen/ |
D | OptParserEmitter.cpp | 125 std::vector<std::string> prf = R.getValueAsListOfStrings("Prefixes"); in EmitOptParser() local 126 PrefixKeyT prfkey(prf.begin(), prf.end()); in EmitOptParser() 210 std::vector<std::string> prf = R.getValueAsListOfStrings("Prefixes"); in EmitOptParser() local 211 OS << Prefixes[PrefixKeyT(prf.begin(), prf.end())] << ", "; in EmitOptParser()
|
/external/boringssl/src/crypto/pkcs8/ |
D | p5_pbev2.c | 82 ASN1_OPT(PBKDF2PARAM, prf, X509_ALGOR) 269 kdf->prf = X509_ALGOR_new(); in PKCS5_pbkdf2_set() 270 if (!kdf->prf) in PKCS5_pbkdf2_set() 272 X509_ALGOR_set0(kdf->prf, OBJ_nid2obj(prf_nid), in PKCS5_pbkdf2_set()
|
/external/wpa_supplicant_8/src/crypto/ |
D | Makefile | 44 sha1-prf.o \ 48 sha256-prf.o \
|
/external/boringssl/src/ssl/ |
D | t1_enc.c | 286 return s->enc_method->prf(s, out, out_len, s->session->master_key, in tls1_generate_key_block() 573 if (!s->enc_method->prf(s, out, 12, s->session->master_key, in tls1_final_finish_mac() 609 if (!s->enc_method->prf(s, out, SSL3_MASTER_SECRET_SIZE, premaster, in tls1_generate_master_secret() 616 if (!s->enc_method->prf(s, out, SSL3_MASTER_SECRET_SIZE, premaster, in tls1_generate_master_secret() 660 int ret = s->enc_method->prf(s, out, out_len, s->session->master_key, in tls1_export_keying_material()
|
/external/boringssl/src/ssl/test/runner/ |
D | prf.go | 236 prf func(result, secret, label, seed []byte) member 308 h.prf(out, masterSecret, clientFinishedLabel, h.Sum()) 320 h.prf(out, masterSecret, serverFinishedLabel, h.Sum())
|