/freebsd/contrib/bsnmp/lib/ |
H A D | snmpcrypto.c | 146 const EVP_CIPHER **ctype, uint8_t *piv) in snmp_pdu_cipher_init() argument 155 memcpy(piv, pdu->msg_salt, sizeof(pdu->msg_salt)); in snmp_pdu_cipher_init() 157 piv[i] = piv[i] ^ pdu->user.priv_key[8 + i]; in snmp_pdu_cipher_init() 161 memcpy(piv, &netint, sizeof(netint)); in snmp_pdu_cipher_init() 162 piv += sizeof(netint); in snmp_pdu_cipher_init() 164 memcpy(piv, &netint, sizeof(netint)); in snmp_pdu_cipher_init() 165 piv += sizeof(netint); in snmp_pdu_cipher_init() 166 memcpy(piv, pdu->msg_salt, sizeof(pdu->msg_salt)); in snmp_pdu_cipher_init()
|
/freebsd/crypto/openssl/crypto/pkcs12/ |
H A D | p12_crpt.c | 32 unsigned char *piv = iv; in PKCS12_PBE_keyivgen_ex() local 69 piv = NULL; in PKCS12_PBE_keyivgen_ex() 72 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, piv, en_de); in PKCS12_PBE_keyivgen_ex()
|
/freebsd/crypto/openssl/crypto/cms/ |
H A D | cms_enc.c | 34 unsigned char iv[EVP_MAX_IV_LENGTH], *piv = NULL; in ossl_cms_EncryptedContent_init_bio() local 99 piv = iv; in ossl_cms_EncryptedContent_init_bio() 107 piv = aparams.iv; in ossl_cms_EncryptedContent_init_bio() 164 if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0) { in ossl_cms_EncryptedContent_init_bio() 175 memcpy(aparams.iv, piv, ivlen); in ossl_cms_EncryptedContent_init_bio()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | crypto.c | 1229 krb5_crypto_iov *tiv, *piv, *hiv; in krb5_encrypt_iov_ivec() local 1264 piv = find_iv(data, num_data, KRB5_CRYPTO_TYPE_PADDING); in krb5_encrypt_iov_ivec() 1266 if (piv == NULL && pad_sz != 0) in krb5_encrypt_iov_ivec() 1268 if (piv) { in krb5_encrypt_iov_ivec() 1269 if (piv->data.length < pad_sz) in krb5_encrypt_iov_ivec() 1271 piv->data.length = pad_sz; in krb5_encrypt_iov_ivec() 1273 memset(piv->data.data, pad_sz, pad_sz); in krb5_encrypt_iov_ivec() 1275 piv = NULL; in krb5_encrypt_iov_ivec() 1307 if (piv) in krb5_encrypt_iov_ivec() 1308 memset(q, 0, piv->data.length); in krb5_encrypt_iov_ivec() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | ntp_calendar.c | 1622 const time_t *piv in ntpcal_ntp_to_date() 1632 ntp64 = ntpcal_ntp_to_ntp(ntp, piv); in ntpcal_ntp_to_date() 1942 const time_t *piv in isocal_ntp_to_date() 1951 ntp64 = ntpcal_ntp_to_ntp(ntp, piv); in isocal_ntp_to_date() 1623 ntpcal_ntp_to_date(struct calendar * jd,uint32_t ntp,const time_t * piv) ntpcal_ntp_to_date() argument 1943 isocal_ntp_to_date(struct isodate * id,uint32_t ntp,const time_t * piv) isocal_ntp_to_date() argument
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw_table_value.c | 633 ipfw_export_table_value_v1(struct table_value *v, ipfw_table_value *piv) in ipfw_export_table_value_v1() argument 652 memcpy(piv, &iv, sizeof(iv)); in ipfw_export_table_value_v1()
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | rfc2459.asn1 | 544 id-uspkicommon-piv-interim OBJECT IDENTIFIER ::= { 2 16 840 1 101 3 6 9 1 }
|