Searched refs:macalg (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/crypto/openssh/ |
| H A D | mac.c | 48 struct macalg { struct 58 static const struct macalg macs[] = { argument 88 const struct macalg *m; in mac_alg_list() 106 mac_setup_by_alg(struct sshmac *mac, const struct macalg *macalg) in mac_setup_by_alg() argument 108 mac->type = macalg->type; in mac_setup_by_alg() 114 mac->mac_len = macalg->len / 8; in mac_setup_by_alg() 115 mac->key_len = macalg->key_len / 8; in mac_setup_by_alg() 118 if (macalg->truncatebits != 0) in mac_setup_by_alg() 119 mac->mac_len = macalg->truncatebits / 8; in mac_setup_by_alg() 120 mac->etm = macalg->etm; in mac_setup_by_alg() [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/pkcs12/ |
| H A D | p12_mutl.c | 85 const X509_ALGOR *macalg; in pkcs12_gen_mac() local 102 X509_SIG_get0(p12->mac->dinfo, &macalg, NULL); in pkcs12_gen_mac() 103 X509_ALGOR_get0(&macoid, NULL, NULL, macalg); in pkcs12_gen_mac() 209 X509_ALGOR *macalg; in PKCS12_setup_mac() local 238 X509_SIG_getm(p12->mac->dinfo, &macalg, NULL); in PKCS12_setup_mac() 239 if (!X509_ALGOR_set0(macalg, OBJ_nid2obj(EVP_MD_type(md_type)), in PKCS12_setup_mac()
|
| /freebsd-13.1/crypto/openssl/apps/ |
| H A D | pkcs12.c | 134 char *passin = NULL, *passout = NULL, *macalg = NULL; in pkcs12_main() local 213 macalg = opt_arg(); in pkcs12_main() 469 if (macalg) { in pkcs12_main() 470 if (!opt_md(macalg, &macmd)) in pkcs12_main()
|
| /freebsd-13.1/crypto/openssl/doc/man1/ |
| H A D | pkcs12.pod | 34 [B<-macalg digest>] 247 =item B<-macalg digest>
|
| /freebsd-13.1/crypto/openssl/ |
| H A D | CHANGES | 5006 *) New -macalg option to pkcs12 utility to allow setting of an alternative
|