Lines Matching refs:algorithm
30 if (kmfber_printf(asn1, "{D", &algoid->algorithm) == -1) {
42 * The algorithm data can be anything, so we just write it
69 free_data(&algoid->algorithm);
77 free_algoid(&spki->algorithm);
266 algoid->algorithm.Data = (uchar_t *)algoid_data.bv_val;
267 algoid->algorithm.Length = algoid_data.bv_len;
278 algoid->algorithm.Data = (uchar_t *)AlgOID.bv_val;
279 algoid->algorithm.Length = AlgOID.bv_len;
291 /* The rest of the data is the algorithm parameters */
346 * The SPKI is the only place where algorithm parameters
349 if ((ret = encode_algoid(asn1, &spki->algorithm, TRUE)) != KMF_OK)
399 if ((ret = get_algoid(asn1, &spki->algorithm)) != KMF_OK)
416 free_algoid(&spki->algorithm);
543 * must be, it depends on the signature algorithm and,
646 ret = CopyData(&src->algorithm.algorithm,
647 &newspki->algorithm.algorithm);
651 ret = CopyData(&src->algorithm.parameters,
652 &newspki->algorithm.parameters);
2495 /* Get the parameters from the algorithm definition */
2497 (char *)pKey->algorithm.parameters.Data;
2498 PubKeyParams.bv_len = pKey->algorithm.parameters.Length;
2542 (KMF_DATA *)&pKey->algorithm.parameters);