Searched refs:alg (Results 76 - 100 of 309) sorted by relevance

1234567891011>>

/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/lib/
H A DRawSigner.h46 void setDigestAlg(CSSM_ALGORITHMS alg) argument
47 { mDigestAlg = alg; }
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/hashClone/
H A DhashClone.c54 CSSM_ALGORITHMS alg,
74 alg,
81 alg,
205 privAlg alg; // ALG_MD5, etc. local
290 for(alg=minAlg; alg<=maxAlg; alg++) {
291 switch(alg) {
322 printf("Testing alg %s\n", algStr);
53 doTest(CSSM_CSP_HANDLE cspHand, CSSM_ALGORITHMS alg, const char *algStr, CSSM_DATA_PTR ptext, CSSM_BOOL verbose, CSSM_BOOL quiet) argument
/macosx-10.10/Security-57031.1.35/securityd/tests/
H A Dtestutils.h57 FakeContext(CSSM_CONTEXT_TYPE type, CSSM_ALGORITHMS alg, uint32 count);
58 FakeContext(CSSM_CONTEXT_TYPE type, CSSM_ALGORITHMS alg, ...);
/macosx-10.10/mDNSResponder-561.1.1/mDNSCore/
H A DCryptoAlg.h31 mDNSu8 alg; member in struct:__anon10958
53 extern AlgContext *AlgCreate(AlgType type, mDNSu8 alg);
/macosx-10.10/OpenSSL098-52/src/crypto/pkcs12/
H A Dp12_npas.c72 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);
/macosx-10.10/bind9-45.101/bind9/bin/confgen/
H A Drndc-confgen.c106 dns_secalg_t alg = DST_ALG_HMACMD5; local
107 const char *algname = alg_totext(alg);
211 generate_key(mctx, randomfile, alg, keysize, &key_txtbuffer);
215 keyname, &key_txtbuffer, alg);
226 write_key_file(buf, user, keyname, &key_txtbuffer, alg);
/macosx-10.10/bind9-45.101/bind9/lib/dns/
H A Ddst_api.c89 unsigned int alg,
99 unsigned int alg,
105 unsigned int alg,
113 static isc_result_t algorithm_status(unsigned int alg);
126 #define CHECKALG(alg) \
129 _r = algorithm_status(alg); \
264 dst_algorithm_supported(unsigned int alg) { argument
267 if (alg >= DST_MAX_ALGS || dst_t_func[alg] == NULL)
413 unsigned int alg, in
412 dst_key_fromfile(dns_name_t *name, dns_keytag_t id, unsigned int alg, int type, const char *directory, isc_mem_t *mctx, dst_key_t **keyp) argument
597 isc_uint8_t alg, proto; local
636 dst_key_frombuffer(dns_name_t *name, unsigned int alg, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, isc_buffer_t *source, isc_mem_t *mctx, dst_key_t **keyp) argument
738 dst_key_fromlabel(dns_name_t *name, int alg, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, const char *engine, const char *label, const char *pin, isc_mem_t *mctx, dst_key_t **keyp) argument
780 dst_key_generate(dns_name_t *name, unsigned int alg, unsigned int bits, unsigned int param, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, isc_mem_t *mctx, dst_key_t **keyp) argument
791 dst_key_generate2(dns_name_t *name, unsigned int alg, unsigned int bits, unsigned int param, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, isc_mem_t *mctx, dst_key_t **keyp, void (*callback)(int)) argument
1188 dst_key_restore(dns_name_t *name, unsigned int alg, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, isc_mem_t *mctx, const char *keystr, dst_key_t **keyp) argument
1225 get_key_struct(dns_name_t *name, unsigned int alg, unsigned int flags, unsigned int protocol, unsigned int bits, dns_rdataclass_t rdclass, isc_mem_t *mctx) argument
1588 buildfilename(dns_name_t *name, dns_keytag_t id, unsigned int alg, unsigned int type, const char *directory, isc_buffer_t *out) argument
1644 frombuffer(dns_name_t *name, unsigned int alg, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, isc_buffer_t *source, isc_mem_t *mctx, dst_key_t **keyp) argument
1683 algorithm_status(unsigned int alg) argument
[all...]
H A Ddst_parse.h52 #define TAG(alg, off) (((alg) << TAG_SHIFT) + (off))
130 dst__privstruct_parse(dst_key_t *key, unsigned int alg, isc_lex_t *lex,
H A Dkey.c35 dst_region_computeid(const isc_region_t *source, unsigned int alg) { argument
46 if (alg == DST_ALG_RSAMD5)
60 dst_region_computerid(const isc_region_t *source, unsigned int alg) { argument
71 if (alg == DST_ALG_RSAMD5)
/macosx-10.10/BerkeleyDB-21/db/crypto/
H A Dcrypto.c68 cipher->flags = db_cipher->alg;
85 db_cipher->alg != cipher->flags) {
189 __crypto_algsetup(env, db_cipher, alg, do_init)
192 u_int32_t alg;
203 switch (alg) {
205 db_cipher->alg = CIPHER_AES;
307 meta->encrypt_alg != db_cipher->alg) {
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/utilLib/
H A DssleayUtils.cpp19 CSSM_ALGORITHMS alg; member in struct:__anon5343
30 CSSM_ALGORITHMS alg,
37 switch(alg) {
45 printf("***eayGenSymKey: bad alg\n");
48 ekp->alg = alg;
127 printf("***eayEncryptDecrypt: bad alg\n");
139 CSSM_ALGORITHMS alg, // AES 128 only for now
154 switch(alg) {
29 eayGenSymKey( CSSM_ALGORITHMS alg, CSSM_BOOL forEncr, const CSSM_DATA *keyData, EAY_KEY *key) argument
138 evpEncryptDecrypt( CSSM_ALGORITHMS alg, CSSM_BOOL forEncr, const CSSM_DATA *keyData, unsigned keyLengthInBits, CSSM_ENCRYPT_MODE mode, const CSSM_DATA *iv, const CSSM_DATA *inData, CSSM_DATA_PTR outData) argument
H A DMakefile6 CSOURCE= common.c cspwrap.c fileIo.c bsafeUtils.c t_stdlib.c rijndael-alg-ref.c \
/macosx-10.10/BerkeleyDB-21/db/dbinc/
H A Dcrypto.h20 * structure so we can tell if users specified both passwd and alg
25 * DB_CIPHER structure until we open and can set the alg.
49 u_int8_t alg; /* Algorithm used - See above */ member in struct:__db_cipher
/macosx-10.10/Heimdal-398.1.2/lib/otp/
H A Dotp_db.c134 ctx->alg = otp_find_alg (p);
135 if (ctx->alg == NULL) {
198 len = strlen(ctx->alg->name) + 1;
202 strlcpy (p, ctx->alg->name, rem);
/macosx-10.10/OpenSSL098-52/src/crypto/asn1/
H A Dp5_pbe.c76 X509_ALGOR *PKCS5_pbe_set(int alg, int iter, unsigned char *salt,
117 al = OBJ_nid2obj(alg); /* never need to free al */
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_client/
H A Dcspclient.cpp56 Context::Context(const CSP &csp, CSSM_ALGORITHMS alg) argument
57 : ObjectImpl(csp), mAlgorithm(alg), mStaged(false), mCred(NULL)
85 void Context::algorithm(CSSM_ALGORITHMS alg) argument
89 mAlgorithm = alg;
/macosx-10.10/Security-57031.1.35/Security/include/security_codesigning/
H A Dcodedirectory.cpp217 CCDigestAlg alg; local
219 case kSecCodeSignatureHashSHA1: alg = kCCDigestSHA1; break;
220 case kSecCodeSignatureHashSHA256: alg = kCCDigestSHA256; break;
224 return new CCHashInstance(alg);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_client/lib/
H A Dcspclient.cpp56 Context::Context(const CSP &csp, CSSM_ALGORITHMS alg) argument
57 : ObjectImpl(csp), mAlgorithm(alg), mStaged(false), mCred(NULL)
85 void Context::algorithm(CSSM_ALGORITHMS alg) argument
89 mAlgorithm = alg;
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/lib/
H A Dcodedirectory.cpp217 CCDigestAlg alg; local
219 case kSecCodeSignatureHashSHA1: alg = kCCDigestSHA1; break;
220 case kSecCodeSignatureHashSHA256: alg = kCCDigestSHA256; break;
224 return new CCHashInstance(alg);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/Security/
H A Dtls_hmac.h89 HMAC_Algs alg; member in struct:HMACReference
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/lib/
H A Dtls_hmac.h89 HMAC_Algs alg; member in struct:HMACReference
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/
H A Dtls_hmac.h89 HMAC_Algs alg; member in struct:HMACReference
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/ccOneShot/
H A DccOneShot.cpp56 HashAlg alg; member in struct:__anon5291
103 static const CommonDigestInfo *findDigestInfo(unsigned alg) argument
107 if((unsigned)(digests[dex].alg) == alg) {
210 printf("Testing alg %s\n", digestInfo->algName);
/macosx-10.10/apache-793/httpd/support/
H A Dpasswd_common.h81 int alg; member in struct:passwd_ctx
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/
H A Dsainfo.h66 int alg; member in struct:sainfoalg

Completed in 349 milliseconds

1234567891011>>