It is not possible to specify the value for `k` allowing the usage of https://tools.ietf.org/html/rfc6979 This limits the ability to use `libcrypto` ECC operations in a number of ways. `OpenSSL::PKey::EC#dsa_sign_asn1` should take an optional precomputed K value as those APIs exist in OpenSSL