/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 | 10 private AlgorithmIdentifier prf; field in PBKDF2KeySpec 12 …KDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdentifier prf) in PBKDF2KeySpec() argument 16 this.prf = prf; in PBKDF2KeySpec() 21 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() 376 const struct ikev2_prf_alg *prf; in ikev2_derive_auth_data() local 379 prf = ikev2_get_prf(prf_alg); in ikev2_derive_auth_data() 381 shared_secret == NULL || nonce == NULL || prf == NULL) in ikev2_derive_auth_data() 391 if (ikev2_prf_hash(prf->id, SK_p, keys->SK_prf_len, in ikev2_derive_auth_data() 399 sign_len = wpabuf_len(sign_msg) + nonce_len + prf->hash_len; in ikev2_derive_auth_data() 408 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
|
/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/openssl/crypto/asn1/ |
D | p5_pbev2.c | 78 ASN1_OPT(PBKDF2PARAM, prf, X509_ALGOR) 246 kdf->prf = X509_ALGOR_new(); in PKCS5_pbkdf2_set() 247 if (!kdf->prf) in PKCS5_pbkdf2_set() 249 X509_ALGOR_set0(kdf->prf, OBJ_nid2obj(prf_nid), in PKCS5_pbkdf2_set()
|
/external/chromium_org/third_party/boringssl/src/crypto/pkcs8/ |
D | p5_pbev2.c | 81 ASN1_OPT(PBKDF2PARAM, prf, X509_ALGOR) 268 kdf->prf = X509_ALGOR_new(); in PKCS5_pbkdf2_set() 269 if (!kdf->prf) in PKCS5_pbkdf2_set() 271 X509_ALGOR_set0(kdf->prf, OBJ_nid2obj(prf_nid), in PKCS5_pbkdf2_set()
|
/external/chromium_org/third_party/boringssl/src/ssl/test/runner/ |
D | prf.go | 205 prf func(result, secret, label, seed []byte) member 269 h.prf(out, masterSecret, clientFinishedLabel, seed) 274 h.prf(out, masterSecret, clientFinishedLabel, seed) 289 h.prf(out, masterSecret, serverFinishedLabel, seed) 294 h.prf(out, masterSecret, serverFinishedLabel, seed)
|
/external/wpa_supplicant_8/src/crypto/ |
D | Makefile | 43 sha1-prf.o \ 47 sha256-prf.o \
|
/external/chromium_org/crypto/ |
D | symmetric_key_win.cc | 402 ScopedHCRYPTHASH prf; in DeriveKeyFromPassword() local 403 if (!CreateHMACHash(provider, password_as_key, CALG_SHA1, &prf)) in DeriveKeyFromPassword() 408 ok = CryptGetHashParam(prf, HP_HASHSIZE, in DeriveKeyFromPassword() 444 if (!ComputePBKDF2Block(prf, hLen, salt, iterations, block_index, in DeriveKeyFromPassword()
|