/freebsd-10.0-release/crypto/openssl/crypto/asn1/ |
H A D | x_algor.c | 80 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval) 82 if (!alg) 86 if (alg->parameter == NULL) 87 alg->parameter = ASN1_TYPE_new(); 88 if (alg->parameter == NULL) 91 if (alg) 93 if (alg->algorithm) 94 ASN1_OBJECT_free(alg->algorithm); 95 alg->algorithm = aobj; 101 if (alg [all...] |
H A D | p5_pbe.c | 77 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, 119 if (X509_ALGOR_set0(algor, OBJ_nid2obj(alg), V_ASN1_SEQUENCE, pbe_str)) 132 X509_ALGOR *PKCS5_pbe_set(int alg, int iter, 143 if (PKCS5_pbe_set0_algor(ret, alg, iter, salt, saltlen))
|
/freebsd-10.0-release/crypto/openssl/crypto/engine/ |
H A D | eng_fat.c | 103 static int int_def_cb(const char *alg, int len, void *arg) argument 106 if (!strncmp(alg, "ALL", len)) 108 else if (!strncmp(alg, "RSA", len)) 110 else if (!strncmp(alg, "DSA", len)) 112 else if (!strncmp(alg, "ECDH", len)) 114 else if (!strncmp(alg, "ECDSA", len)) 116 else if (!strncmp(alg, "DH", len)) 118 else if (!strncmp(alg, "RAND", len)) 120 else if (!strncmp(alg, "CIPHERS", len)) 122 else if (!strncmp(alg, "DIGEST [all...] |
/freebsd-10.0-release/etc/rc.d/ |
H A D | sshd | 30 local alg=$1 31 local ALG="$(echo $alg | tr a-z A-Z)" 34 if ! checkyesno "sshd_${alg}_enable" ; then 38 case $alg in 43 keyfile="/etc/ssh/ssh_host_${alg}_key" 59 /usr/bin/ssh-keygen -q -t $alg -f "$keyfile" -N ""
|
/freebsd-10.0-release/sbin/md5/ |
H A D | md5.c | 219 MDString(Algorithm_t *alg, const char *string) argument 224 alg->Data(string,len,buf); 230 printf("%s (\"%s\") = %s", alg->name, string, buf); 243 MDTimeTrial(Algorithm_t *alg) argument 254 alg->name, TEST_BLOCK_COUNT, TEST_BLOCK_LEN); 265 alg->Init(&context); 267 alg->Update(&context, block, TEST_BLOCK_LEN); 268 p = alg->End(&context, buf); 353 MDTestSuite(Algorithm_t *alg) argument 358 printf("%s test suite:\n", alg 373 MDFilter(Algorithm_t *alg, int tee) argument 390 usage(Algorithm_t *alg) argument [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_attr.c | 99 X509_ALGOR *alg; local 101 if(!(alg = X509_ALGOR_new())) { 105 ASN1_OBJECT_free(alg->algorithm); 106 alg->algorithm = OBJ_nid2obj (nid); 109 if(!(alg->parameter = ASN1_TYPE_new())) { 121 alg->parameter->value.integer = nbit; 122 alg->parameter->type = V_ASN1_INTEGER; 124 sk_X509_ALGOR_push (sk, alg);
|
/freebsd-10.0-release/sys/crypto/rijndael/ |
H A D | Makefile | 5 SRCS= ${PROG}.c rijndael-alg-fst.c rijndael-api-fst.c
|
/freebsd-10.0-release/tools/tools/crypto/ |
H A D | cryptotest.c | 113 struct alg { struct 162 static struct alg* 173 static struct alg* 246 runtest(struct alg *alg, int count, int size, u_long cmd, struct timeval *tv) argument 256 if (!alg->ishash) { 257 sop.keylen = (alg->minkeylen + alg->maxkeylen)/2; 263 sop.cipher = alg->code; 265 sop.mackeylen = (alg 428 runtests(struct alg *alg, int count, int size, u_long cmd, int threads, int profile) argument 517 struct alg *alg = NULL; local [all...] |
/freebsd-10.0-release/sys/modules/geom/geom_bde/ |
H A D | Makefile | 9 SRCS+= rijndael-alg-fst.c rijndael-api-fst.c sha2.c
|
/freebsd-10.0-release/sys/modules/wlan_ccmp/ |
H A D | Makefile | 8 SRCS+= rijndael-alg-fst.c rijndael-api.c
|
/freebsd-10.0-release/sys/netipsec/ |
H A D | xform.h | 120 extern struct auth_hash *ah_algorithm_lookup(int alg); 124 extern struct enc_xform *esp_algorithm_lookup(int alg); 128 extern struct comp_algo *ipcomp_algorithm_lookup(int alg);
|
/freebsd-10.0-release/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_lib.c | 106 X509_ALGOR *alg; local 112 alg = cid->hashAlgorithm; 113 if (alg->algorithm != NULL) ASN1_OBJECT_free(alg->algorithm); 119 if (!(alg->algorithm=OBJ_nid2obj(nid))) goto err; 120 if ((alg->parameter=ASN1_TYPE_new()) == NULL) goto err; 121 alg->parameter->type=V_ASN1_NULL;
|
/freebsd-10.0-release/contrib/wpa/src/crypto/ |
H A D | crypto_internal-cipher.c | 18 enum crypto_cipher_alg alg; member in struct:crypto_cipher 43 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, argument 53 ctx->alg = alg; 55 switch (alg) { 108 switch (ctx->alg) { 172 switch (ctx->alg) { 232 switch (ctx->alg) {
|
H A D | crypto_internal.c | 18 enum crypto_hash_alg alg; member in struct:crypto_hash 31 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, argument 43 ctx->alg = alg; 45 switch (alg) { 130 switch (ctx->alg) { 164 switch (ctx->alg) {
|
/freebsd-10.0-release/usr.bin/ssh-copy-id/ |
H A D | ssh-copy-id.sh | 43 while read alg key comment ; do \ 46 printf "$alg $key $comment\n" >> "$keyfile" ; \
|
/freebsd-10.0-release/crypto/openssl/crypto/pkcs12/ |
H A D | p12_npas.c | 72 static int alg_get(X509_ALGOR *alg, int *pnid, int *piter, int *psaltlen); 211 static int alg_get(X509_ALGOR *alg, int *pnid, int *piter, int *psaltlen) argument 216 p = alg->parameter->value.sequence->data; 217 pbe = d2i_PBEPARAM(NULL, &p, alg->parameter->value.sequence->length); 220 *pnid = OBJ_obj2nid(alg->algorithm);
|
/freebsd-10.0-release/crypto/openssl/crypto/ |
H A D | crypto.h | 555 #define fips_md_init(alg) fips_md_init_ctx(alg, alg) 558 #define fips_md_init_ctx(alg, cx) \ 559 int alg##_Init(cx##_CTX *c) \ 562 "Low level API call to digest " #alg " forbidden in FIPS mode!"); \ 563 return private_##alg##_Init(c); \ 565 int private_##alg##_Init(cx##_CTX *c) 567 #define fips_cipher_abort(alg) \ 569 "Low level API call to cipher " #alg " forbidde [all...] |
/freebsd-10.0-release/sys/net80211/ |
H A D | ieee80211_freebsd.h | 402 #define IEEE80211_SCANNER_ALG(name, alg, v) \ 407 ieee80211_scanner_register(alg, &v); \ 409 ieee80211_scanner_unregister(alg, &v); \ 416 #define IEEE80211_ACL_MODULE(name, alg, version) \ 419 alg##_modevent(int type) \ 422 ieee80211_aclator_register(&alg); \ 424 ieee80211_aclator_unregister(&alg); \ 426 TEXT_SET(acl_set, alg##_modevent); \ 434 #define IEEE80211_AUTH_ALG(name, alg, v) \ 439 ieee80211_authenticator_register(alg, [all...] |
/freebsd-10.0-release/contrib/ldns/ |
H A D | keys.c | 40 { LDNS_SIGN_HMACMD5, "hmac-md5.sig-alg.reg.int" }, 93 ldns_key_new_frm_engine(ldns_key **key, ENGINE *e, char *key_id, ldns_algorithm alg) argument 105 ldns_key_set_algorithm(k, (ldns_signing_algorithm) alg); 239 ldns_key_new_frm_fp_ecdsa_l(FILE* fp, ldns_algorithm alg, int* line_nr) argument 254 if(alg == LDNS_ECDSAP256SHA256) 256 else if(alg == LDNS_ECDSAP384SHA384) 295 ldns_signing_algorithm alg; local 313 alg = 0; 339 /* no alg information */ 346 alg 809 ldns_key_new_frm_algorithm(ldns_signing_algorithm alg, uint16_t size) argument [all...] |
/freebsd-10.0-release/contrib/wpa/src/common/ |
H A D | privsep_commands.h | 46 int alg; member in struct:privsep_cmd_set_key
|
/freebsd-10.0-release/sbin/gbde/ |
H A D | Makefile | 5 SRCS+= rijndael-alg-fst.c
|
/freebsd-10.0-release/sys/modules/random/ |
H A D | Makefile | 15 SRCS+= rijndael-alg-fst.c rijndael-api-fst.c sha2.c
|
/freebsd-10.0-release/contrib/wpa/src/ap/ |
H A D | ap_mlme.c | 22 static const char * mlme_auth_alg_str(int alg) argument 24 switch (alg) {
|
/freebsd-10.0-release/crypto/openssl/crypto/ts/ |
H A D | ts_lib.c | 126 int TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg) argument 128 int i = OBJ_obj2nid(alg->algorithm);
|
/freebsd-10.0-release/crypto/heimdal/lib/hx509/ |
H A D | collector.c | 37 AlgorithmIdentifier alg; member in struct:private_key 106 free_AlgorithmIdentifier(&key->alg); 116 const AlgorithmIdentifier *alg, 137 ret = copy_AlgorithmIdentifier(alg, &key->alg); 146 ret = hx509_parse_private_key(context, alg, 114 _hx509_collector_private_key_add(hx509_context context, struct hx509_collector *c, const AlgorithmIdentifier *alg, hx509_private_key private_key, const heim_octet_string *key_data, const heim_octet_string *localKeyId) argument
|