HomeSort by relevance Sort by last modified time
    Searched full:kinv (Results 1 - 13 of 13) sorted by null

  /packages/apps/Camera/jni/feature_stab/db_vlvm/
db_utilities_camera.cpp 29 void db_Approx3DCalMat(double K[9],double Kinv[9],int im_width,int im_height,double f_correction,int field)
49 db_InvertCalibrationMatrix(Kinv,K);
db_utilities_camera.h 45 \param Kinv inverse of K (out)
52 DB_API void db_Approx3DCalMat(double K[9],double Kinv[9],int im_width,int im_height,double f_correction=1.0,int field=0);
75 void inline db_InvertCalibrationMatrix(double Kinv[9],const double K[9])
80 if((a==0.0)||(d==0.0)) db_Identity3x3(Kinv);
83 Kinv[3]=0.0;
84 Kinv[6]=0.0;
85 Kinv[7]=0.0;
86 Kinv[8]=1.0;
91 Kinv[0]=f*ainv;
92 Kinv[1]= -b*f*adinv
    [all...]
  /external/openssl/crypto/dsa/
dsa_ossl.c 133 BIGNUM *kinv=NULL,*r=NULL,*s=NULL; local
154 if ((dsa->kinv == NULL) || (dsa->r == NULL))
156 if (!DSA_sign_setup(dsa,ctx,&kinv,&r)) goto err;
160 kinv=dsa->kinv;
161 dsa->kinv=NULL;
180 if (!BN_mod_mul(s,s,kinv,dsa->q,ctx)) goto err;
197 if (kinv != NULL) /* dsa->kinv is NULL now if we used it */
198 BN_clear_free(kinv);
205 BIGNUM k,kq,*K,*kinv=NULL,*r=NULL; local
    [all...]
dsa_lib.c 161 ret->kinv=NULL;
215 if (r->kinv != NULL) BN_clear_free(r->kinv);
fips186a.txt 71 kinv =
dsa.h 155 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st
  /external/dropbear/libtomcrypt/src/pk/dsa/
dsa_sign_hash.c 35 void *k, *kinv, *tmp; local
62 if ((err = mp_init_multi(&k, &kinv, &tmp, NULL)) != CRYPT_OK) { goto ERRBUF; }
84 if ((err = mp_invmod(k, key->q, kinv)) != CRYPT_OK) { goto error; }
96 if ((err = mp_mulmod(s, kinv, key->q, s)) != CRYPT_OK) { goto error; }
102 mp_clear_multi(k, kinv, tmp, NULL);
  /external/openssl/crypto/ecdsa/
ecs_sign.c 68 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey)
73 return ecdsa->meth->ecdsa_do_sign(dgst, dlen, kinv, rp, eckey);
83 *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r,
88 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey);
ecs_ossl.c 224 BIGNUM *kinv=NULL, *s, *m=NULL,*tmp=NULL,*order=NULL; local
283 if (!ECDSA_sign_setup(eckey, ctx, &kinv, &ret->r))
288 ckinv = kinv;
317 /* if kinv and r have been supplied by the caller
318 * don't to generate new kinv and r values */
346 if (kinv)
347 BN_clear_free(kinv);
ecdsa.h 124 * \param kinv BIGNUM with a pre-computed inverse k (optional)
131 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey);
173 * \param kinv BIGNUM pointer for the inverse of k
177 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
201 * \param kinv BIGNUM with a pre-computed inverse k (optional)
208 unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv,
ecs_locl.h 73 int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
  /external/openssl/include/openssl/
ecdsa.h 124 * \param kinv BIGNUM with a pre-computed inverse k (optional)
131 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey);
173 * \param kinv BIGNUM pointer for the inverse of k
177 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
201 * \param kinv BIGNUM with a pre-computed inverse k (optional)
208 unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv,
dsa.h 155 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st

Completed in 361 milliseconds