Home
last modified time | relevance | path

Searched refs:OSSL_PARAM_OCTET_STRING (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/crypto/openssl/providers/implementations/digests/
H A Dmd5_sha1_prov.c29 {OSSL_DIGEST_PARAM_SSL3_MS, OSSL_PARAM_OCTET_STRING, NULL, 0, 0},
51 if (p != NULL && p->data_type == OSSL_PARAM_OCTET_STRING) in md5_sha1_set_ctx_params()
H A Dsha2_prov.c33 {OSSL_DIGEST_PARAM_SSL3_MS, OSSL_PARAM_OCTET_STRING, NULL, 0, 0},
54 if (p != NULL && p->data_type == OSSL_PARAM_OCTET_STRING) in sha1_set_ctx_params()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305.c129 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_get_ctx_params()
198 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_set_ctx_params()
218 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_set_ctx_params()
232 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in chacha20_poly1305_set_ctx_params()
H A Dcipher_aes_cbc_hmac_sha.c102 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in aes_set_ctx_params()
130 if (p->data_type != OSSL_PARAM_OCTET_STRING in aes_set_ctx_params()
158 if (p->data_type != OSSL_PARAM_OCTET_STRING in aes_set_ctx_params()
160 || pin->data_type != OSSL_PARAM_OCTET_STRING in aes_set_ctx_params()
176 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in aes_set_ctx_params()
H A Dciphercommon_ccm.c79 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_set_ctx_params()
120 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_set_ctx_params()
134 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_set_ctx_params()
212 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_ccm_get_ctx_params()
H A Dciphercommon_gcm.c223 || p->data_type != OSSL_PARAM_OCTET_STRING in ossl_gcm_get_ctx_params()
274 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_gcm_set_ctx_params()
288 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in ossl_gcm_set_ctx_params()
300 || p->data_type != OSSL_PARAM_OCTET_STRING in ossl_gcm_set_ctx_params()
H A Dcipher_rc4_hmac_md5.c185 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in rc4_hmac_md5_set_ctx_params()
198 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in rc4_hmac_md5_set_ctx_params()
H A Dcipher_rc2.c128 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in rc2_get_ctx_params()
187 if (p->data_type != OSSL_PARAM_OCTET_STRING in rc2_set_ctx_params()
H A Dcipher_aes_siv.c168 if (p != NULL && p->data_type == OSSL_PARAM_OCTET_STRING) { in aes_siv_get_ctx_params()
214 if (p->data_type != OSSL_PARAM_OCTET_STRING in aes_siv_set_ctx_params()
H A Dcipher_aes_ocb.c366 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in aes_ocb_set_ctx_params()
468 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in aes_ocb_get_ctx_params()
/freebsd/crypto/openssl/apps/lib/
H A Dapp_params.c36 case OSSL_PARAM_OCTET_STRING: in describe_param_type()
123 case OSSL_PARAM_OCTET_STRING: in print_param_value()
/freebsd/crypto/openssl/crypto/evp/
H A Dctrl_params_translate.c503 case OSSL_PARAM_OCTET_STRING: in default_fixup_args()
525 case OSSL_PARAM_OCTET_STRING: in default_fixup_args()
637 case OSSL_PARAM_OCTET_STRING: in default_fixup_args()
684 case OSSL_PARAM_OCTET_STRING: in default_fixup_args()
1618 case OSSL_PARAM_OCTET_STRING: in get_payload_public_key()
1640 if (ctx->params->data_type == OSSL_PARAM_OCTET_STRING) { in get_payload_public_key()
2026 OSSL_PKEY_PARAM_DIST_ID, OSSL_PARAM_OCTET_STRING, NULL },
2061 OSSL_EXCHANGE_PARAM_KDF_UKM, OSSL_PARAM_OCTET_STRING, NULL },
2164 OSSL_EXCHANGE_PARAM_KDF_UKM, OSSL_PARAM_OCTET_STRING, NULL },
2205 OSSL_EXCHANGE_PARAM_KDF_UKM, OSSL_PARAM_OCTET_STRING, NULL },
[all …]
/freebsd/crypto/openssl/crypto/
H A Dparams_from_text.c119 case OSSL_PARAM_OCTET_STRING: in prepare_from_text()
182 case OSSL_PARAM_OCTET_STRING: in construct_from_text()
H A Dparam_build.c285 pd = param_push(bld, key, bsize, bsize, OSSL_PARAM_OCTET_STRING, secure); in OSSL_PARAM_BLD_push_octet_string()
338 } else if (pd->type == OSSL_PARAM_OCTET_STRING in param_bld_convert()
H A Dparams.c1170 OSSL_PARAM_OCTET_STRING); in OSSL_PARAM_get_octet_string()
1209 return set_string_internal(p, val, len, OSSL_PARAM_OCTET_STRING); in OSSL_PARAM_set_octet_string()
1223 return ossl_param_construct(key, OSSL_PARAM_OCTET_STRING, buf, bsize); in OSSL_PARAM_construct_octet_string()
1318 || get_string_ptr_internal(p, val, used_len, OSSL_PARAM_OCTET_STRING); in OSSL_PARAM_get_octet_string_ptr()
/freebsd/crypto/openssl/providers/implementations/macs/
H A Dgmac_prov.c230 if (p->data_type != OSSL_PARAM_OCTET_STRING in gmac_set_ctx_params()
235 if (p->data_type != OSSL_PARAM_OCTET_STRING) in gmac_set_ctx_params()
H A Dcmac_prov.c206 if (p->data_type != OSSL_PARAM_OCTET_STRING) in cmac_set_ctx_params()
H A Dsiphash_prov.c217 if (p->data_type != OSSL_PARAM_OCTET_STRING in siphash_set_params()
/freebsd/crypto/openssl/include/openssl/
H A Dcore.h120 # define OSSL_PARAM_OCTET_STRING 5 macro
/freebsd/crypto/openssl/test/
H A Dparams_test.c360 { "foo", OSSL_PARAM_OCTET_STRING, &foo, sizeof(foo), 0 },
373 OSSL_PARAM_DEFN("foo", OSSL_PARAM_OCTET_STRING, &foo, sizeof(foo)),
562 OSSL_PARAM_DEFN("octets", OSSL_PARAM_OCTET_STRING, NULL, 0),
H A Dtls-provider.c534 if (p->data_type != OSSL_PARAM_OCTET_STRING) in xor_get_params()
563 if (p->data_type != OSSL_PARAM_OCTET_STRING in xor_set_params()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_PARAM.pod174 =item B<OSSL_PARAM_OCTET_STRING>
207 The difference between this and B<OSSL_PARAM_OCTET_STRING> is that
211 If there is any uncertainty about which to use, B<OSSL_PARAM_OCTET_STRING> is
266 B<OSSL_PARAM_OCTET_STRING>), but this is in no way mandatory.
270 If I<data> for a B<OSSL_PARAM_OCTET_STRING> or a
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_backend.c79 if (prm->data_type != OSSL_PARAM_OCTET_STRING) in ossl_ffc_params_fromdata()
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dmac_legacy_kmgmt.c190 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in mac_key_fromdata()
430 if (p->data_type != OSSL_PARAM_OCTET_STRING) { in mac_gen_set_params()
H A Ddh_kmgmt.c329 if (p->data_type != OSSL_PARAM_OCTET_STRING) in dh_get_params()
374 && (p->data_type != OSSL_PARAM_OCTET_STRING in dh_set_params()
618 && (p->data_type != OSSL_PARAM_OCTET_STRING in dhx_gen_set_params()

12