Lines Matching defs:sig
38 __free_signature(dh_signature_t sig)
40 Free(sig->dh_signature_val);
41 sig->dh_signature_val = NULL;
42 sig->dh_signature_len = 0;
309 __alloc_sig(dh_qop_t qop, dh_signature_t sig)
322 sig->dh_signature_len = cipher_pad(v->signer, v->size);
325 sig->dh_signature_val = (void*)New(char, sig->dh_signature_len);
326 if (sig->dh_signature_val == NULL) {
327 sig->dh_signature_len = 0;
369 dh_signature_t sig /* The resulting MIC */)
391 * and sig will not be encrypted.
393 stat = (*v->msg)(&buf, mesg, v->signer->cipher, keys, sig);
399 * __verify_sig: Verify that the supplied signature, sig, is the same
406 dh_signature_t sig /* The signature from the serialized token */)
411 gss_buffer_desc buf; /* Packaging for sig */
418 buf.length = sig->dh_signature_len;
419 buf.value = sig->dh_signature_val;
429 if (__cmpsig(sig, &token->verifier))