Home
last modified time | relevance | path

Searched refs:SECSuccess (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/common/crypto/ecc/
H A Dec.c212 rv = SECSuccess; in ec_points_mul()
335 if (rv != SECSuccess) goto cleanup; in ec_NewKey()
345 (rv == SECSuccess) ? "success" : "failure"); in ec_NewKey()
381 SECStatus rv = SECSuccess; in ec_GenerateRandomPrivateKey()
415 if (rv != SECSuccess && privKeyBytes) { in ec_GenerateRandomPrivateKey()
455 (rv == SECSuccess) ? "success" : "failure"); in EC_NewKey()
531 rv = SECSuccess; in EC_ValidatePublicKey()
597 if ((ec_points_mul(ecParams, NULL, &k, publicValue, &pointQ, kmflag) != SECSuccess) || in ECDH_Derive()
607 rv = SECSuccess; in ECDH_Derive()
710 != SECSuccess)) in ECDSA_SignDigestWithSeed()
[all …]
H A Decc_impl.h106 #define CHECK_SEC_OK(func) if (SECSuccess != (rv = func)) goto cleanup
202 SECSuccess = 0 enumerator
H A Dsecitem.c152 return SECSuccess; in SECITEM_CopyItem()
H A Decdecode.c144 rv = SECSuccess; in gf_populate_params()
606 return SECSuccess; in EC_DecodeParams()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c390 if ( SSL_OptionSet( sslfd, SSL_SECURITY, secure ) != SECSuccess || in do_ldapssl_connect()
392 != SECSuccess || ( secure && SSL_ResetHandshake( sslfd, in do_ldapssl_connect()
393 PR_FALSE ) != SECSuccess )) { in do_ldapssl_connect()
412 if (SSL_SetURL(sslfd, host) != SECSuccess) in do_ldapssl_connect()
748 return SECSuccess; in ldapssl_AuthCertificate()
761 if ( rv != SECSuccess || isServer ) in ldapssl_AuthCertificate()
781 if (rv != SECSuccess) in ldapssl_AuthCertificate()
978 if ( SSL_OptionSet( sslfd, SSL_SECURITY, secure ) != SECSuccess || in ldapssl_import_fd()
980 != SECSuccess || ( secure && SSL_ResetHandshake( sslfd, in ldapssl_import_fd()
981 PR_FALSE ) != SECSuccess )) { in ldapssl_import_fd()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftEC.c188 if (EC_DecodeParams(&params_item, &ecparams, 0) != SECSuccess) { in soft_ec_genkey_pair()
193 if (EC_NewKey(ecparams, &privKey, 0) != SECSuccess) { in soft_ec_genkey_pair()
283 if (EC_DecodeParams(&params_item, &ecparams, 0) != SECSuccess) { in soft_ec_key_derive()
295 B_FALSE, &secret_item, 0) != SECSuccess) { in soft_ec_key_derive()
394 if (EC_DecodeParams(&params_item, &ecparams, 0) != SECSuccess) { in soft_ecc_sign_verify_init_common()
506 != SECSuccess) { in soft_ecc_sign()
578 != SECSuccess) { in soft_ecc_verify()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c204 SECStatus nssrv = SECSuccess; in nss_authenticate()
220 if (nssrv != SECSuccess) { in nss_authenticate()
242 return (SECSuccess); in Init_NSS_DBs()
248 if (rv != SECSuccess) { in Init_NSS_DBs()
286 if (err != SECSuccess) { in NSS_ConfigureKeystore()
918 if (nssrv != SECSuccess) { in NSS_CreateKeypair()
926 if (nssrv != SECSuccess || passed != SECSuccess) { in NSS_CreateKeypair()
1154 SECStatus nssrv = SECSuccess; in NSS_DeleteKey()
1184 if (nssrv == SECSuccess) in NSS_DeleteKey()
1187 if (nssrv != SECSuccess) { in NSS_DeleteKey()
[all …]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c493 if (EC_DecodeParams(&params_item, &ecparams, kmflag) != SECSuccess) { in ecc_sign_verify_common_init()
684 kmflag)) != SECSuccess) { in ecc_sign_common()
810 if (EC_DecodeParams(&params_item, &ecparams, kmflag) != SECSuccess) { in ecc_sign_atomic()
893 != SECSuccess) { in ecc_verify_common()
1007 if (EC_DecodeParams(&params_item, &ecparams, kmflag) != SECSuccess) { in ecc_verify_atomic()
1135 if (EC_DecodeParams(&params_item, &ecparams, kmflag) != SECSuccess) { in ecc_nostore_key_generate_pair()
1140 if (EC_NewKey(ecparams, &privKey, kmflag) != SECSuccess) { in ecc_nostore_key_generate_pair()
1253 if (EC_DecodeParams(&params_item, &ecparams, kmflag) != SECSuccess) { in ecc_nostore_key_derive()
1270 B_FALSE, &secret_item, kmflag) != SECSuccess) { in ecc_nostore_key_derive()